Master Palindromic Substrings with Step-by-Step Visual Guide | LeetCode 647

Learn how to efficiently count palindromic substrings in your code with our detailed, visual walkthrough of LeetCode 647. Perfect for coding interview prep! πŸ”

Master Palindromic Substrings with Step-by-Step Visual Guide | LeetCode 647
Nikhil Lohia
12.5K views β€’ Dec 24, 2024
Master Palindromic Substrings with Step-by-Step Visual Guide | LeetCode 647

About this video

Join this channel to get access to perks: https://www.youtube.com/channel/UCT-S2ngqEBoYCM5UKuNeELg/join

Actual problem on LeetCode: https://leetcode.com/problems/palindromic-substrings/

Chapters:
00:00 - Intro
00:47 - Problem Statement
05:12 - Brute Force won’t be enough
06:16 - Odd and Even length Palindromes
07:56 - Efficient Method
13:58 - Dry-run of code18:50 - Final Thoughts

πŸ“š Links to topics I talk about in the video:
Palindromes: https://youtu.be/UXVHeXNO9AA
Longest Palindromic Substring: https://youtu.be/uX0-xyPkR2w
Other problem on Strings: https://www.youtube.com/playlist?list=PLFdAYMIVJQHNZy3Q4MnLnCBZ9-OxOhaWY
Other Medium Problems: https://www.youtube.com/playlist?list=PLFdAYMIVJQHO1paovM-tu2vtGzQU72z_U

πŸ“˜ A text based explanation is available at: https://studyalgorithms.com

Code on Github: https://github.com/nikoo28/java-solutions/blob/master/src/main/java/leetcode/medium/PalindromicSubstrings.java
Test-cases on Github: https://github.com/nikoo28/java-solutions/blob/master/src/test/java/leetcode/medium/PalindromicSubstringsTest.java

πŸ“– Reference Books:
Starting Learn to Code: https://amzn.to/3sJm8Wl
Favorite book to understand algorithms: https://amzn.to/4848xJH
Favorite book for data structures: https://amzn.to/3P96YBv
Get started for interview preparation: https://amzn.to/44Nn5du

πŸ”— To see more videos like this, you can show your support on: https://www.buymeacoffee.com/studyalgorithms

πŸŽ₯ My Recording Gear:
Recording Light: https://amzn.to/3PdsViT
Microphone: https://amzn.to/3Exv83x
Recording Camera: https://amzn.to/3PwyN8e
Tablet to sketch and draw: https://amzn.to/3ZdKVy7
Sketching Tool: https://amzn.to/45XJEgY
Laptop to edit videos: https://amzn.to/460ofDu


πŸ’» Get Social πŸ’»
Follow on Facebook at: https://www.facebook.com/studyalgos
Subscribe to RSS feeds: https://studyalgorithms.com/feed/
Join fan mail: http://eepurl.com/g9Dadv

#leetcode #programming #interview

Tags and Topics

Browse our collection to discover more content in these categories.

Video Information

Views

12.5K

Likes

341

Duration

20:06

Published

Dec 24, 2024

User Reviews

4.6
(2)
Rate:

Related Trending Topics

LIVE TRENDS

Related trending topics. Click any trend to explore more videos.