Commit 7a925d2
Changed files (1)
2020
08
12
2020/08/12/README.md
@@ -0,0 +1,23 @@
+A palindrome is a sequence of characters
+that reads the same backwards and forwards.
+
+Given a string, s, find the longest palindromic
+substring in s.
+
+Example:
+
+Input: "banana"
+Output: "anana"
+
+Input: "million"
+Output: "illi"
+
+```python
+class Solution
+ def longestPalindrome(self, s):
+ # Fill this in.
+
+# Test program
+Solution().longestPalindrome("tracecars")
+# racecar
+```