Algorithm Puzzles: Happy Number
Algorithm Puzzles everyday every week sometimes: Happy Number
Puzzle
Puzzle from leetcode:
Solution
1 | class Solution { |
T.C.: O(N)
S.C.: O(N)
Algorithm Puzzles everyday every week sometimes: Happy Number
Puzzle from leetcode:
1 | class Solution { |
T.C.: O(N)
S.C.: O(N)