(11) STL: Happy Number
Question Link and Solution Link
Difficulty: Easy
Problem Statement: Given a number we need to find the sum of the square of digits of the number till the resultant is 1. If the resultant is 1 return true else false.
Approach: We will use a set to ...
programminguides.hashnode.dev1 min read