Flipkart interview question

Standard MC Question with some twist for DB