- 博客(4)
- 资源 (4)
- 收藏
- 关注
原创 506. Relative Ranks
Given scores of N athletes, find their relative ranks and the people with the top three highest scores, who will be awarded medals: "Gold Medal", "Silver Medal" and "Bronze Medal". Example 1: In
2017-02-12 22:27:41 1259
原创 496. Next Greater Element I
You are given two arrays (without duplicates) nums1 and nums2 where nums1’s elements are subset of nums2. Find all the next greater numbers for nums1's elements in the corresponding places of nums
2017-02-08 22:06:06 1092
原创 455. Assign Cookies
Assume you are an awesome parent and want to give your children some cookies. But, you should give each child at most one cookie. Each child i has a greed factor gi, which is the minimum size of a c
2017-02-07 23:06:56 275
原创 500. Keyboard Row
问题描述:Given a List of words, return the words that can be typed using letters of alphabet on only one row's of American keyboard like the image below. Example 1: Input: ["Hello", "Alaska"
2017-02-07 22:30:55 2393
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人