Happy number
Replace a number with the sum of the squares of its digits and repeat. Return whether it reaches 1 or loops forever. Detect the loop with a set of seen values or with fast and slow pointers.
No answer yet. Write the first one; the best answer gets endorsed.
