iamdestinychild / 30-Days-DSA-Challenge

A 30 days challange for you to learn data structure and algorithm
MIT License
45 stars 67 forks source link

Longest Palindromic Substring(Leetcode) #167

Open Gyanthakur opened 1 year ago

Gyanthakur commented 1 year ago

Description Given a string s, return the longest palindromic substring in s.

Example 1:

Input: s = "babad" Output: "bab" Explanation: "aba" is also a valid answer. Example 2:

Input: s = "cbbd" Output: "bb"

Longest Palindromic Substring

Gyanthakur commented 1 year ago

assign this issue to me.