5. Longest Palindromic Substring 🔥
Medium
Problem:
Input: s = "babad"
Output: "bab"
Explanation: "aba" is also a valid answer.What to learn:
Two Pointers
Sliding Window
Name
Sorted
Window size
Move
Solutions:
Another approach: a solution that expands from the center
Last updated