Groww Interview Question

DS algo - hashmap & priority queue