Skip to content

Find The Longest Palindromic Substring #5

@barretlee

Description

@barretlee

本题难度:★★

找到字符串 s 中最长的连续回文串,假定 s 的最大长度为 1000,如

输入 "babad",输出 "bab""aba" 也是正确答案
输入 "cbbd",输出 "bb"

参考答案:https://github.com/barretlee/daily-algorithms/blob/master/answers/5.md

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions