We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2677c9 commit d4c42f7Copy full SHA for d4c42f7
src/main/java/com/fishercoder/solutions/_214.java
@@ -1,18 +1,5 @@
1
package com.fishercoder.solutions;
2
3
-/**
4
- 214. Shortest Palindrome
5
-
6
- Given a string S, you are allowed to convert it to a palindrome
7
- by adding characters in front of it.
8
- Find and return the shortest palindrome you can find by performing this transformation.
9
10
- For example:
11
12
- Given "aacecaaa", return "aaacecaaa".
13
14
- Given "abcd", return "dcbabcd".
15
- */
16
public class _214 {
17
18
public static class Solution1 {
0 commit comments