Flipkart Interview Question

Write backend code for given requirements in 90 minutes.