forked from YearOfProgramming/2017Challenges
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Earlier method used Dynamic Arrays to check for palindrome which took O(n) space. This method just reverses the input number and checks if it is the same as the original.
- Loading branch information
1 parent
7346cff
commit 6f72105
Showing
1 changed file
with
17 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters