Find out string is palindrome or not
Check Whether or Not the Number is a Palindrome in Python
- Method 1: Using Simple Iteration.
- Method 2: Using String Slicing.
- Method 3: Using Recursion
- Method 4: Using Character matching
- Method 5: Using Character matching updated
- Method 6: Using Built-in reversed function
- Method 7: Building reverse one char at a time
- Method 8: Using Flag and backward reading
- Method 9: Bonus using backward slicing
Latest posts by Rajesh Kumar (see all)
- Apache Lucene Query Example - April 8, 2024
- Google Cloud: Step by Step Tutorials for setting up Multi-cluster Ingress (MCI) - April 7, 2024
- What is Multi-cluster Ingress (MCI) - April 7, 2024