Shortest Palindrome
Asked at Reddit: Apply the KMP algorithm to efficiently prepend the fewest characters to the front of a string of up to 50k lowercase English letters.
Check more interview questions and experiences about Reddit
Asked at Reddit: Apply the KMP algorithm to efficiently prepend the fewest characters to the front of a string of up to 50k lowercase English letters.
Check more interview questions and experiences about Reddit
Please log in to view interview question details