Learn
Practice
Newsletter
Resources
F
Toggle theme
0
F
Toggle theme
0
Toggle menu
← Back to All Animations
Shortest Palindrome
Bookmark
Input
aacecaaa
abcd
aba
abbacd
Custom
s
=
aacecaaa
s
a
a
c
e
c
a
a
a
algo
master
.
io
Step:
Start: Find shortest palindrome by prepending characters to "aacecaaa"
0 / 42
Input
aacecaaa
abcd
aba
abbacd
Custom
s
=
aacecaaa
0 / 42
s
a
a
c
e
c
a
a
a
algo
master
.
io
Step:
Start: Find shortest palindrome by prepending characters to "aacecaaa"