Flipkart Interview Question

PS/DS 2 codes in each round