Pergunta de entrevista da empresa Intellect Design Arena

Diff between for and for each loop