摘要:
Given an array of strings, group anagrams together. Example: Note: All inputs will be in lowercase. The order of your output does not matter. 题目思路为利用c 阅读全文
阅读排行榜
[LeetCode] 154. Find Minimum in Rotated Sorted Array II_Hard
2019-07-11 10:15 by Johnson_强生仔仔, 159 阅读, 收藏,
摘要:
Suppose an array sorted in ascending order is rotated at some pivot unknown to you beforehand. (i.e., [0,1,2,4,5,6,7] might become [4,5,6,7,0,1,2]). F 阅读全文
[LeetCode] 506. Relative Ranks_Easy tag: Sort
2018-08-28 12:23 by Johnson_强生仔仔, 158 阅读, 收藏,
摘要:
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", "Sil 阅读全文
[LeetCode] 58. Length of Last Word_Easy tag: String
2018-08-18 11:38 by Johnson_强生仔仔, 158 阅读, 收藏,
摘要:
Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the string. If the last word 阅读全文
[LeetCode] 203. Remove Linked List Elements_Easy tag: Linked LIst
2018-08-15 00:38 by Johnson_强生仔仔, 158 阅读, 收藏,
摘要:
Remove all elements from a linked list of integers that have value val. Example: Input: 1->2->6->3->4->5->6, val = 6 Output: 1->2->3->4->5 Remove all 阅读全文
浙公网安备 33010602011771号