Pergunta de entrevista da empresa myHQ

The Interviewer was very friendly first he asked me a question which is Leetcode Happy Number and the second question was to print all pairs of indices whose sum is zero, this was the first round the second round was based on projects.