arrow_back Back to Challenges

#5 Longest Palindromic Substring

Medium Acceptance 0%
description

Problem Description

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

checklist Constraints

1 <= s.length <= 1000
s consist of only digits and English letters.

science Examples

Case #1

In: s = "babad"
Out: "bab"

Case #2

In: s = "cbbd"
Out: "bb"

Mastery Tags

Dynamic Programming Strings

Hiring Companies

Adobe Amazon Microsoft
code

Integrated IDE

code_blocks
Coding
psychology
Aptitude