godkingjay / LeetCode

LeetCode Solutions
MIT License
33 stars 65 forks source link

[PROBLEM] 5. Longest Palindromic Substring #91

Closed godkingjay closed 1 year ago

godkingjay commented 1 year ago

Difficulty

Medium

Problem 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"


Constraints:

Link

https://leetcode.com/problems/longest-palindromic-substring/

VishnuAmit commented 1 year ago

Hey @godkingjay . Kindly assign it to me. Id like to work on this issue

VishnuAmit commented 1 year ago

Hey @godkingjay . Done with the problem. Kindly check out my PR. Thanks !