Skip to content

Your program is wrong #1

@naveenwashere

Description

@naveenwashere

Your longest palidrominc substring program is wrong. Try for this word and it does not work "barbarabar". There is a palindrome "barab" but it does not show that. Instead it shows "r" to be the longest palindrome.

Doesnt work for "forgeeksskeegfor" and gives an array out of bounds exception for "abaaba"!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions