
映射
文章平均质量分 79
jmspan
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
LeetCode 242. Valid Anagram(变位词校验)
原题网址:https://leetcode.com/problems/valid-anagram/ 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原创 2016-04-07 03:15:56 · 843 阅读 · 0 评论 -
LeetCode 290. Word Pattern(单词模式)
原题网址:https://leetcode.com/problems/word-pattern/ Given a pattern and a string str, find if str follows the same pattern. Here follow means a full match, such that there is a bijection betwee原创 2016-04-16 04:05:13 · 703 阅读 · 0 评论 -
LeetCode 347. Top K Frequent Elements(最频繁的K个元素)
原题网址:https://leetcode.com/problems/top-k-frequent-elements/ Given a non-empty array of integers, return the k most frequent elements. For example, Given [1,1,1,2,2,3] and k = 2, return [1,2].原创 2016-05-18 08:58:53 · 1012 阅读 · 1 评论 -
LeetCode 288. Unique Word Abbreviation(单词缩写)
原题网址:https://leetcode.com/problems/unique-word-abbreviation/ An abbreviation of a word follows the form . Below are some examples of word abbreviations: a) it --> it (no原创 2016-04-15 14:19:44 · 1026 阅读 · 0 评论 -
LeetCode 311. Sparse Matrix Multiplication(稀疏矩阵相乘)
原题网址:https://leetcode.com/problems/sparse-matrix-multiplication/ Given two sparse matrices A and B, return the result of AB. You may assume that A's column number is equal to B's row number.原创 2016-04-21 08:12:23 · 2950 阅读 · 0 评论 -
LeetCode 291. Word Pattern II(单词模式II)
原题网址:https://leetcode.com/problems/word-pattern-ii/ Given a pattern and a string str, find if str follows the same pattern. Here follow means a full match, such that there is a bijection bet原创 2016-04-16 04:00:07 · 1262 阅读 · 0 评论 -
LeetCode 348. Design Tic-Tac-Toe(井字棋)
原题网址:https://leetcode.com/problems/design-tic-tac-toe/ Design a Tic-tac-toe game that is played between two players on a n x n grid. You may assume the following rules: A move is guaranteed原创 2016-05-18 09:30:28 · 4522 阅读 · 0 评论