LeetCode Longest Palindromic Substring
Problem statement
Given a string s, return the longest palindromic substring in s.
Problem statement taken from: https://leetcode.com/problems/longest-palindromic-substring
Example 1:
Input: s = "babad"
Output: "bab"
Note: "aba" is also a valid answe...
alkesh26.hashnode.dev7 min read