摘要:
226. Invert Binary Tree Invert a binary tree. to 阅读全文
posted @ 2016-05-14 17:13
19Q3
阅读(179)
评论(0)
推荐(0)
摘要:
104. 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 th 阅读全文
posted @ 2016-05-14 17:10
19Q3
阅读(145)
评论(0)
推荐(0)
摘要:
258. 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 阅读全文
posted @ 2016-05-14 17:05
19Q3
阅读(225)
评论(0)
推荐(0)
摘要:
292. Nim Game(C++) You are playing the following Nim Game with your friend: There is a heap of stones on the table, each time one of you take turns to 阅读全文
posted @ 2016-05-14 16:54
19Q3
阅读(269)
评论(0)
推荐(0)
摘要:
344. Reverse String Write a function that takes a string as input and returns the string reversed. Example: Given s = "hello", return "olleh". 题目大意: 字 阅读全文
posted @ 2016-05-14 16:46
19Q3
阅读(276)
评论(0)
推荐(0)
摘要:
263. Ugly Number Write a program to check whether a given number is an ugly number. Ugly numbers are positive numbers whose prime factors only include 阅读全文
posted @ 2016-05-14 16:28
19Q3
阅读(253)
评论(0)
推荐(0)

浙公网安备 33010602011771号