๐ŸŒ
NeetCode
neetcode.io โ€บ solutions โ€บ 125. valid palindrome
LeetCode 125 Valid Palindrome Solution & Explanation | NeetCode
Given a string s, return true if it is a palindrome, otherwise return false. A palindrome is a string that reads the same forward and backward. It isโ€ฆ
๐ŸŒ
GitHub
github.com โ€บ mdmzfzl โ€บ NeetCode-Solutions โ€บ blob โ€บ main โ€บ 02_Two_Pointers โ€บ 01_Valid_Palindrome โ€บ 0125-valid-palindrome.rs
NeetCode-Solutions/02_Two_Pointers/01_Valid_Palindrome/0125-valid-palindrome.rs at main ยท mdmzfzl/NeetCode-Solutions
Problem: LeetCode 125 - Valid Palindrome ยท ยท Key Idea: The key idea is to compare the characters in the string while ignoring non-alphanumeric characters and considering case-insensitivity.
Author ย  mdmzfzl
๐ŸŒ
NeetCode
neetcode.io
NeetCode | Coding Interview Prep, Courses, Versus Mode
Practice coding interviews with structured courses, AI-driven interviews, head-to-head Versus mode, and 800+ problems. Free and Pro tiers.
๐ŸŒ
NeetCode
neetcode.io โ€บ problems โ€บ valid palindrome
Valid Palindrome - NeetCode
Leetcode 125. Valid Palindrome Given a string s, return true if it is a palindrome, otherwise return false. A palindrome is a string that reads the sameโ€ฆ
๐ŸŒ
YouTube
youtube.com โ€บ watch
Valid Palindrome (LeetCode 125) | Neetcode 10 / 150 | Bharath Chandra (Telugu) - YouTube
Hello guys, cheers to another piece of learning. Today I talked about the "Valid Palindrome" problem which is the first in Neetcode 150 list. It is one of th...
Published ย  July 19, 2024
๐ŸŒ
YouTube
youtube.com โ€บ watch
125 Valid Palindrome, Leetcode Javascript Solution - YouTube
Leetcode Interview question 125. Valid Palindrome, #Javascript solution. #leetcode #neetcode
Published ย  March 15, 2023
Find elsewhere
๐ŸŒ
YouTube
youtube.com โ€บ techwithsaumya
125. Valid Palindrome || NEETCODE 150 - YouTube
125. Valid Palindrome || NEETCODE 150Join Us - ๐Ÿ“ŒTelegram channel: https://telegram.me/placement_phodenge๐Ÿ“ŒTwitter : https://twitter.com/Awasthi__๐Ÿ“ŒLinkedIn ...
Published ย  January 10, 2024
Views ย  563
๐ŸŒ
Reddit
reddit.com โ€บ r/leetcode โ€บ 125. valid palindrome help
r/leetcode on Reddit: 125. Valid Palindrome help
October 31, 2022 -

var isPalindrome = function(s) {

let leftPointer = 0;

let rightPointer = s.length - 1;

while (leftPointer < rightPointer) {

while (leftPointer < rightPointer && !(alphaNumChecker(s[leftPointer]))) {

leftPointer++;

}

while (rightPointer > leftPointer && !(alphaNumChecker(s[rightPointer]))) {

rightPointer--;

}

if (toLowerCase(s[leftPointer]) !== toLowerCase(s[rightPointer])) {

return false;

}

leftPointer++;

rightPointer--;

}

return true;

};

var alphaNumChecker = function(char) {

if (!(char > 47 && char < 58) && // numeric (0-9)

!(char > 64 && char < 91) && // upper alpha (A-Z)

!(char > 96 && char < 123)) { // lower alpha (a-z)

return false;

}

return true;

}

var toLowerCase = function(code) {

if (code >= 65 && code <= 90) {

return code + 32

}

else {

return code

}

}

This is what I got so far using a neetcode tutorial as a guide which is done in Python. This is JS of course. It runs true on "race a car" and I'm not sure why. Spent like 2 hours trying different things, obviously it's not detecting two letters are not the same for some reason.

๐ŸŒ
YouTube
youtube.com โ€บ shorts โ€บ jGYDz5dUf1M
Valid Palindrome - Leetcode 125 - Python - YouTube
๐Ÿš€ https://neetcode.io/ - Coding Interview RoadmapCheckout my second Channel: https://www.youtube.com/@NeetCodeIO๐Ÿฅท Discord: https://discord.gg/ddjKRXPqtk๐Ÿง‘...
Published ย  June 14, 2024
๐ŸŒ
GitHub
github.com โ€บ ascherj โ€บ neetcode-250-guide โ€บ blob โ€บ main โ€บ NeetCode_250_Study_Plan_EXAMPLE.md
neetcode-250-guide/NeetCode_250_Study_Plan_EXAMPLE.md at main ยท ascherj/neetcode-250-guide
Intelligent 125-day coding interview prep planner covering all 250 NeetCode problems. Features spaced repetition, progressive difficulty scaling, and same-category daily pairing for optimal pattern recognition and retention.
Author ย  ascherj
๐ŸŒ
YouTube
youtube.com โ€บ watch
125. Gas Station - Neetcode 150 - YouTube
Enjoy the videos and music you love, upload original content, and share it all with friends, family, and the world on YouTube.
Published ย  August 20, 2025
๐ŸŒ
Go Packages
pkg.go.dev โ€บ github.com โ€บ intothevoid โ€บ leetcode โ€บ neetcode
neetcode package - github.com/intothevoid/leetcode/neetcode - Go Packages
125_valid_palindrome.go ยท 1_two_sums.go ยท 217_contains_duplicate.go ยท 242_valid_anagram.go ยท Click to show internal directories. Click to hide internal directories. go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.
๐ŸŒ
Class Central
classcentral.com โ€บ subjects โ€บ technology โ€บ programming โ€บ competitive programming & coding interviews โ€บ leetcode
Free Video: NeetCode 150 - Essential LeetCode Problems for Coding Interviews from freeCodeCamp | Class Central
May 27, 2026 - Master 150 essential LeetCode problems covering key algorithmic patterns tested by top tech companies. Comprehensive solutions and explanations for coding interview preparation.
๐ŸŒ
Lufftw
lufftw.github.io โ€บ neetcode
NeetCode Practice Framework - NeetCode Practice Framework
December 10, 2025 - # Clone and setup git clone https://github.com/lufftw/neetcode.git cd neetcode # Create virtual environment (Python 3.11) python -m venv leetcode leetcode\Scripts\activate # Windows source leetcode/bin/activate # Linux/macOS # Install dependencies pip install -r requirements.txt
๐ŸŒ
NeetCode
neetcode.io โ€บ practice โ€บ practice โ€บ neetcode150
NeetCode 150 - Coding Interview Questions
Master coding interviews with the NeetCode 150 - a curated list of 150 essential coding interview problems. Free video solutions and explanations forโ€ฆ
๐ŸŒ
YouTube
youtube.com โ€บ playlist
NeetCode 150 - Review - YouTube
A playlist of shorts solving the NeetCode 150 problems.