- 博客(9)
- 收藏
- 关注
原创 Add Digits(leetcode)
Add DigitsGiven a non-negative integer num, repeatedly add all its digits until the result has only one digit.
2017-11-25 21:44:20 179
原创 Count Binary Substrings(leetcode)
Count Binary SubstringsGive a string s, count the number of non-empty contiguous substrings that have the same number of 0's and 1's, and all the 0's and all the 1's in these substrings are grouped consecutive
2017-11-25 21:08:03 227
原创 Detect Capital(leetcode)
Detect CapitalGiven a word, you need to judge whether the usage of capitals in it is right or not.
2017-11-25 20:59:31 231
原创 Self Dividing Numbers(leetcode)
Self Dividing NumbersA self-dividing number is a number that is divisible by every digit it contains.
2017-11-25 20:52:32 175
原创 Max Area of Island(leetcode)
Max Area of IslandGiven a non-empty 2D array grid of 0's and 1's, an island is a group of 1's (representing land) connected 4-directionally. Find the maximum area of an island in the grid.
2017-11-19 13:55:46 241
原创 Employee Importance
Employee ImportanceNow given the employee information of a company, and an employee id, you need to return the total importance value of this employee and all his subordinates.
2017-11-12 10:46:47 228
原创 Maximum Depth of Binary Tree
Maximum Depth of Binary TreeGiven a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest path from the root node down to the farthest leaf node.
2017-11-12 09:53:51 196
原创 Max Consecutive Ones
Max Consecutive OnesGiven a binary array, find the maximum number of consecutive 1s in this array.
2017-11-12 09:33:30 266
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人