摘要:
Suppose an array sorted in ascending order is rotated at some pivot unknown to you beforehand. (i.e., [0,0,1,2,2,5,6] might become [2,5,6,0,0,1,2]). Y 阅读全文
阅读排行榜
[LeetCode] 867. Transpose Matrix_Easy
2018-08-18 11:55 by Johnson_强生仔仔, 169 阅读, 收藏,
摘要:
Given a matrix A, return the transpose of A. The transpose of a matrix is the matrix flipped over it's main diagonal, switching the row and column ind 阅读全文
[LeetCode] 181. Employees Earning More Than Their Managers_Easy tag: SQL
2018-08-16 10:24 by Johnson_强生仔仔, 168 阅读, 收藏,
摘要:
The Employee table holds all employees including their managers. Every employee has an Id, and there is also a column for the manager Id. Given the Em 阅读全文
[LeetCode] 804. Unique Morse Code Words_Easy tag: Hash Table
2018-08-15 05:10 by Johnson_强生仔仔, 168 阅读, 收藏,
摘要:
International Morse Code defines a standard encoding where each letter is mapped to a series of dots and dashes, as follows: "a"maps to ".-", "b" maps 阅读全文
[LeetCode] 747. Largest Number At Least Twice of Others_Easy
2018-08-28 12:08 by Johnson_强生仔仔, 167 阅读, 收藏,
摘要:
In a given integer array nums, there is always exactly one largest element. Find whether the largest element in the array is at least twice as much as 阅读全文
浙公网安备 33010602011771号