Commit 7a925d2

mo khan <mo.khan@gmail.com>
2020-08-13 02:40:08
Add problem of the day
1 parent 7f7f9ea
Changed files (1)
2020
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
+```