
频率比较
文章平均质量分 73
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 · 824 阅读 · 0 评论 -
LeetCode 169. Majority Element(众数)
原题网址:https://leetcode.com/problems/majority-element/ Given an array of size n, find the majority element. The majority element is the element that appears more than ⌊ n/2 ⌋ times. You may as原创 2016-05-25 01:37:08 · 1609 阅读 · 0 评论