Pergunta de entrevista da empresa Coding Ninjas

Scenario based question was asked