CES (India) interview question

Scenario based questions, basic JS problem solving