代码改变世界

阅读排行榜

[LeetCode] 728. Self Dividing Numbers_Easy tag: Math

2018-08-18 06:03 by Johnson_强生仔仔, 186 阅读, 收藏,
摘要: A self-dividing number is a number that is divisible by every digit it contains. For example, 128 is a self-dividing number because 128 % 1 == 0, 128 阅读全文

[LeetCode] 310. Minimum Height Trees_Medium tag: BFS

2018-08-09 04:31 by Johnson_强生仔仔, 186 阅读, 收藏,
摘要: For a undirected graph with tree characteristics, we can choose any node as the root. The result graph is then a rooted tree. Among all possible roote 阅读全文

[LeetCode] 394. Decode String_Medium tag: stack 666

2018-07-19 04:42 by Johnson_强生仔仔, 186 阅读, 收藏,
摘要: Given an encoded string, return it's decoded string. The encoding rule is: k[encoded_string], where the encoded_string inside the square brackets is b 阅读全文

[LeetCode] 176. Second Highest Salary_Easy tag: SQL

2018-08-12 05:28 by Johnson_强生仔仔, 185 阅读, 收藏,
摘要: Write a SQL query to get the second highest salary from the Employee table. + + + | Id | Salary | + + + | 1 | 100 | | 2 | 200 | | 3 | 300 | + + + For 阅读全文

[LeetCode] 38. Count and Say_Easy

2018-08-11 05:13 by Johnson_强生仔仔, 185 阅读, 收藏,
摘要: The count-and-say sequence is the sequence of integers with the first five terms as following: 1 is read off as "one 1" or 11.11 is read off as "two 1 阅读全文
上一页 1 ··· 51 52 53 54 55 56 57 58 59 ··· 78 下一页