Learn
Practice
Interview
Resources
Newsletter
F
Toggle theme
0
F
0
Toggle menu
Animations
← Back to All Animations
Happy Number
Bookmark
Hash Set
Floyd's Cycle
Math
Input
Happy (19)
Unhappy (2)
Happy (7)
Unhappy (4)
Custom
n
=
19
19
82
68
100
1
curr
19
82
68
100
1
curr
19
82
68
100
1
curr
19
82
68
100
1
curr
19
82
68
100
1
curr
19
82
68
100
1
curr
19
82
68
100
1
curr
19
82
68
100
1
curr
19
82
68
100
1
curr
19
82
68
100
1
curr
19
82
68
100
1
algo
master
.
io
Step:
Start: is 19 a happy number? Track every value in a set
0 / 11
Input
Happy (19)
Unhappy (2)
Happy (7)
Unhappy (4)
Custom
n
=
19
0 / 11
algo
master
.
io
Step:
Start: is 19 a happy number? Track every value in a set