LeetCode-Solutions
LeetCode-Solutions copied to clipboard
added python solution for 9. palindrome number
Description
The question is to check if the provided input number is a palindrome. Two solutions are provided. The first is to simply reverse the input and compare. The second implements the double pointer method to work inwards from the two ends of the input.
Put check marks:
Have you made changes in README file ?
- [x] Added problem & solution under correct topic.
- [x] Specified Space & Time complexity.
- [x] Specified difficulty level, tag & Note(if any).
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Please also note any relevant details for your test configuration.
- [x] Leetcode provided tests
Make sure all below guidelines are followed else PR will get Reject:
- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [x] I have commented my code so that it is easy to understand
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] Any dependent changes have been merged and published in downstream modules