Sort 72 Discussions, By:
Please Login in order to post a comment
why 23 in between 21 and 25 is not lucky number,
as we are getting digit sum 5, and sum of square of digits are 13.
Here is Lucky Numbers problem solution in Python Java C++ and C programming - https://programs.programmingoneonone.com/2021/07/hackerrank-lucky-numbers-problem-soluton.html