摘要:
Given a sorted array nums, remove the duplicates in-place such that each element appear only once and return the new length. Do not allocate extra spa 阅读全文
posted @ 2018-07-21 23:23
bonelee
阅读(299)
评论(0)
推荐(0)
摘要:
Given a n-ary 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 阅读全文
posted @ 2018-07-21 23:05
bonelee
阅读(795)
评论(0)
推荐(0)
摘要:
Determine whether an integer is a palindrome. An integer is a palindrome when it reads the same backward as forward. Example 1: Input: 121 Output: tru 阅读全文
posted @ 2018-07-21 11:54
bonelee
阅读(275)
评论(0)
推荐(0)
摘要:
We are playing the Guess Game. The game is as follows: I pick a number from 1 to n. You have to guess which number I picked. Every time you guess wron 阅读全文
posted @ 2018-07-21 11:01
bonelee
阅读(302)
评论(0)
推荐(0)

浙公网安备 33010602011771号