Grindr interview question

Leetcode problem which was happy number