update solution for Implement strStr