Pregunta de entrevista de First American (India)

Happy number problem, sorting algorithms and time complexity