Netskope Interview Question

Leetcode stack/queue problem. Hashmap problem.