Longest Palindromic Subsequence - Leetcode 516 - Python

Опубликовано: 18 June 2026
на канале: NeetCodeIO
50,511
722

🚀 https://neetcode.io/ - A better way to prepare for Coding Interviews

Solving Leetcode 516 - Longest Palindromic Subsequence, today's daily leetcode problem on April 13th.

🥷 Discord:   / discord  
🐦 Twitter:   / neetcode1  

🐮 Support the channel:   / neetcode  

⭐ BLIND-75 PLAYLIST:    • Two Sum - Leetcode 1 - HashMap - Python  
💡 DYNAMIC PROGRAMMING PLAYLIST:    • House Robber -  Leetcode 198 - Python Dyna...  

Problem Link: https://leetcode.com/problems/longest...

0:00 - Read the problem
0:30 - LCS Explanation
4:55 - LCS Coding
5:30 - Brute Force Explanation
11:25 - Memoization Coding (Time Limit Exceeded)

leetcode 149

#neetcode #leetcode #python