Skip to main content

One doc tagged with "KMP Algorithm"

View all tags

Shortest Palindrome

This document provides a solution to finding the shortest palindrome by adding characters in front of the given string.