package
0.0.0-20241220224003-b7cf03a90b2b
Repository: https://github.com/szhou12/leetcode-go.git
Documentation: pkg.go.dev
# README
202. Happy Number
Solution idea
Recursion + 十进制:模10取末位digit,除10砍掉末位digit
Note: Use a Map
to check if we encounter the repeated number/cycle.