Naive (Longest Palindromic Substring Longest Palindromic Substring)

From Algorithm Wiki
Revision as of 07:57, 10 April 2023 by Admin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Time Complexity

$O(n^{3})$

Space Complexity

$O({1})$ words

(https://www.geeksforgeeks.org/longest-palindrome-substring-set-1/)

Description

Approximate?

Exact

Randomized?

No, deterministic

Model of Computation

Word RAM

Year

1940

Reference

-