码迷,mamicode.com
首页 >  
搜索关键字:its    ( 9997个结果
LeetCode:Add Digits
Given a non-negative integer num, repeatedly add all its digits until the result has only one digit.For example:Given num = 38, the process is like: 3...
分类:其他好文   时间:2015-08-17 13:28:39    阅读次数:120
[LeetCode] Add Digits
Add Digits Given a non-negative integer num, repeatedly add all its digits until the result has only one digit. For example: Given num = 38, the process is like: 3 + 8 = 11, 1 + 1 = 2. ...
分类:其他好文   时间:2015-08-17 12:11:37    阅读次数:104
LeetCode:Maximum Depth of Binary Tree
Given 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 le...
分类:其他好文   时间:2015-08-17 11:37:33    阅读次数:123
[LeetCode] Add Digits (a New question added)
Given a non-negative integernum, repeatedly add all its digits until the result has only one digit.For example:Givennum = 38, the process is like:3 + ...
分类:其他好文   时间:2015-08-17 10:00:19    阅读次数:111
LeetCode258——Add Digits
Given a non-negative integer num, repeatedly add all its digits until the result has only one digit. For example: Given num = 38, the process is like: 3 + 8 = 11, 1 + 1 = 2. Since 2 has on...
分类:其他好文   时间:2015-08-17 01:06:54    阅读次数:210
[LeetCode][JavaScript]Add Digits
Add DigitsGiven a non-negative integernum, repeatedly add all its digits until the result has only one digit.For example:Givennum = 38, the process is...
分类:编程语言   时间:2015-08-17 00:53:13    阅读次数:138
[LeetCode] Happy Number
Well, no matter whether the number is happy or not, its sum-of-squared-digits sequance has a cycle. Well, do you still remember the algorithm for dete...
分类:移动开发   时间:2015-08-17 00:51:01    阅读次数:207
【LeetCode】258 - Add Digits
Given a non-negative integernum, repeatedly add all its digits until the result has only one digit.For example:Givennum = 38, the process is like:3 + ...
分类:其他好文   时间:2015-08-17 00:50:26    阅读次数:106
[LeetCode] Clone Graph
Clone Graph Clone an undirected graph. Each node in the graph contains a label and a list of its neighbors. OJ's undirected graph serialization: Nodes are labeled uniquely. We use # as a sep...
分类:其他好文   时间:2015-08-16 19:55:36    阅读次数:149
【LeetCode】107 - Binary Tree Level Order Traversal II
Given a binary tree, return thebottom-up level ordertraversal of its nodes' values. (ie, from left to right, level by level from leaf to root).For exa...
分类:其他好文   时间:2015-08-16 18:09:04    阅读次数:127
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!