Pergunta de entrevista da empresa HashedIn by Deloitte

time complexity ,loops and algorithms