摘要: Given a string s and a non empty string p, find all the start indices of p's anagrams in s. Strings consists of lowercase English letters only and the 阅读全文
posted @ 2017-09-03 09:38 狂徒归来 阅读(183) 评论(0) 推荐(0) 编辑
摘要: Given two strings s and t, write a function to determine if t is an anagram of s. For example, s = "anagram", t = "nagaram", return true. s = "rat", t 阅读全文
posted @ 2017-09-03 00:00 狂徒归来 阅读(136) 评论(0) 推荐(0) 编辑