Skip to content

PRO TIP Block youtube.com at the DNS level — Pi-hole, NextDNS or your hosts file — but allow youtube-nocookie.com and i.ytimg.com. These tutorials keep playing; the rabbit hole does not.

Learning without distractions

DSA in Python Course- Check if a String is Palindrome or Not – Part 17 [Hindi] | Code & Debug

42.1K views on YouTube

Welcome to Part 17 of Code & Debug’s DSA Python Course 2025! 🎉 In this video, we’ll learn how to check if a string is a palindrome using Python. Palindrome problems are common in coding interviews and help strengthen your logic-building skills.

Here’s what you’ll learn:
📌 What is a palindrome?
📌 Recursive and iterative approaches to check for palindromes
📌 Step-by-step Python implementation with examples

👉 Link to solve this question:
https://www.geeksforgeeks.org/problems/palindrome-string0817/1

👉 Refer the article below for better understanding:

Palindrome String | Recursive & Iterative Python Solutions

👉 📄 Access the full YouTube DSA Playlist Sheet (All Questions in Order):
🔗 https://docs.google.com/spreadsheets/d/1AWE15Fy3wD2iqu2vjK_R7cCiuvSsjYQclcdZmHpF66o/edit?usp=sharing

👉 Enroll in the free DSA Python course here:
https://codeanddebug.in/course/master-dsa-with-leetcode

👉 Enroll for Self-Paced Advance DSA course here:
https://codeanddebug.in/course/zero-to-hero-python-dsa

👉 Don’t forget to subscribe and hit the 🔔 to stay updated with all our lectures.

Timestamps:
0:00 Introduction – Palindrome Problem Statement
1:16 Iterative Approach – Two Pointer Logic
6:08 Iterative Approach – Code
9:19 Iterative Approach – Time & Space Complexity
11:09 Recursive Approach – Concept
16:08 Recursive Approach – Dry Run
19:11 Recursive Approach – Time & Space Complexity

#DSAPythonCourse #PalindromeStringCheck #PythonDSA #CodeAndDebug #PythonProgramming #LearnDSA #PalindromeCheckPython