同构
文章平均质量分 79
jmspan
这个作者很懒,什么都没留下…
展开
-
LeetCode 249. Group Shifted Strings
原题网址:https://leetcode.com/problems/group-shifted-strings/Given a string, we can "shift" each of its letter to its successive letter, for example: "abc" -> "bcd". We can keep "shifting" which f原创 2016-04-07 12:53:53 · 736 阅读 · 0 评论 -
LeetCode LeetCode 205. Isomorphic Strings(同形词)
原题网址:https://leetcode.com/problems/isomorphic-strings/Given two strings s and t, determine if they are isomorphic.Two strings are isomorphic if the characters in s can be replaced to get t.原创 2016-05-04 07:58:15 · 353 阅读 · 0 评论 -
LeetCode 49. Group Anagrams(分组同构异形词)
原题网址:https://leetcode.com/problems/anagrams/Given an array of strings, group anagrams together.For example, given: ["eat", "tea", "tan", "ate", "nat", "bat"], Return:[ ["ate", "eat","t原创 2016-05-21 06:11:47 · 1557 阅读 · 0 评论 -
LeetCode 87. Scramble String(字符串扰乱)
原题网址:https://leetcode.com/problems/scramble-string/Given a string s1, we may represent it as a binary tree by partitioning it to two non-empty substrings recursively.Below is one possible原创 2016-05-23 00:34:32 · 1595 阅读 · 0 评论 -
LeetCode 76. Minimum Window Substring(最小窗口子串)
原题网址:https://leetcode.com/problems/minimum-window-substring/Given a string S and a string T, find the minimum window in S which will contain all the characters in T in complexity O(n).For ex原创 2016-05-22 05:19:30 · 572 阅读 · 0 评论