Flipkart interview question

PS/DS 2 codes in each round