Flipkart Interview Question

→ Graph challenge → Monotonic Stack & Merge Sort → Tree problem