filmov
tv
9. Palindrome Number - Leetcode (Python)

Показать описание
Given an integer x, return true if x is a palindrome and false otherwise. This is the 9th problem (easy mode) on leetcode, and I will show you the solutions in Python. A palindrome is a sequence that when reversed, it is identical to the original sequence. So, a palindrome number is a number that when you reverse it, it is the same as the original. For example, 121 is a palindrome number, but 123 is not. That's because the reverse of 123 is 321, which are not identical to each other. In this video, I show you two different solutions to solve this problem. One solution is to convert is to strings and reverse the string, then check with the original. The second solution is to use arithmetic operations. This means the solution will use only numbers and operations such as plus, minus, multiply, divide, etc to verify if a number is a palindrome or not. I can tell you that negative numbers are not a palindrome because of the negative sign.
If you enjoy this video, please subscribe and share with others!
If you enjoy this video, please subscribe and share with others!
Palindrome Number - Leetcode 9 - Python
9. Palindrome Number - Leetcode (Python)
LeetCode #9: Palindrome Number
LeetCode Palindrome Number Solution Explained - Java
Palindrome Number | Leetcode problem 9
LeetCode #9 - Palindrome Number
Leetcode 9. Palindrome Number [Java]
Leetcode | 9. Palindrome Number | Easy | Java Solution
LeetCode 9. Palindrome Number
Leetcode 9. Palindrome Number
Palindrome Number - Leetcode 9 - Java
Leetcode 9 Palindrome Number | JavaScript Solution | Easy Math
Cracking LeetCode's 9 | Palindrome Number Challenge in C
LeetCode Solution 9. Palindrome Number
LeetCode solutions explanation JavaScript. Problem #9 - Palindrome Number
LeetCode 9 - Palindrome Number - C#
Python Programming Practice: LeetCode #9 -- Palindrome Number
Leetcode 9 - Palindrome Number (Java, Solution Explained)
LeetCode Tutorial 9. Palindrome Number
Leetcode 9 Palindrome Number - Python Solution
How to Solve '9 Palindrome Number' on LeetCode? - Javascript
9. Palindrome Number | LEETCODE | Top Interview Questions | EASY
LeetCode Problem: 9. Palindrome Number | Java Solution
Palindrome Number - Leetcode 9 - C++ Solution Explained
Комментарии