Longest Palindromic Substring

Given a string of length nn, find the palindromic substrings of maximal length.

Parameters

  • nn: length of given string

Filters

Computational Model

Randomization

Approximation

Algorithms Table

Displaying 5 of 5 algorithms

See more
Gusfield 1997O(n)O(n)O(n)O(n)
Jeuring1994O(n)O(n)O(n)O(n)
Manacher1975O(n)O(n)O(n)O(n)
Dynamic Programming1953O(n2)O(n^2)O(n2)O(n^2)
Naive1940O(n3)O(n^3)O(1)O(1)

Reductions Table

Insuffient Data to display table

Other relevant algorithms

Insuffient Data to display table