Pergunta de entrevista da empresa Freshworks

Hackerrank questions from collection and looping