自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(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

原创 Invert Binary Tree(leetcode)

Invert Binary Tree将二叉树的节点左右交换

2017-11-19 13:37:15 167

原创 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关注的人

提示
确定要删除当前文章?
取消 删除