Domanda di colloquio di CareerBuilder

Write a function to determine if a given integer is a happy number.

Risposta di colloquio

Anonimo

1 mar 2014

Hint: Sort the digits first.