message: Update implement-strstr.py
diff: @@ -44,16 +44,6 @@ class Solution(object):
  prefix[i] = j
  return prefix
  - def strStr2(self, haystack, needle):
  - """
  - :type haystack: str
  - :type needle: str
  - :rtype: int
  - """
  - try:
  - return haystack.index(needle)
  - except:
  - return -1
  # Time: O(n * k)
  # Space: O(k)
  @@ -69,6 +59,7 @@ class Solution2(object):
  return i
  return -1
  +
  if __name__ == "__main__":
  print Solution().strStr("a", "")
  print Solution().strStr("abababcdab", "ababcdx")
  