自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Zdx

先想后做。

  • 博客(8)
  • 收藏
  • 关注

原创 226. Invert Binary Tree

Invert a binary tree.

2017-12-11 16:49:39 448

原创 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 the root node down to the farthest leaf node

2017-12-11 16:47:08 502

原创 485. Max Consecutive Ones

Problem StatementGiven a binary array, find the maximum number of consecutive 1s in this array. Example 1:Input: [1,1,0,1,1,1] Output: 3 Explanation: The first two digits or the last three digits are

2017-12-11 16:45:35 471

原创 136. Single Number

Problem StatementGiven an array of integers, every element appears twice except for one. Find that single one.Note: Your algorithm should have a linear runtime complexity. Could you implement it witho

2017-12-11 16:40:28 431

原创 292. Nim Game

Problem StatementYou 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 remove 1 to 3 stones. The one who removes the last s

2017-12-11 16:32:22 452

原创 521. Longest Uncommon Subsequence I

Problem StatementGiven a group of two strings, you need to find the longest uncommon subsequence of this group of two strings. The longest uncommon subsequence is defined as the longest subsequence of

2017-12-11 16:29:34 444

原创 496. Next Greater Element I

Problem StatementYou are given two arrays (without duplicates) nums1 and nums2 where nums1’s elements are subset of nums2. Find all the next greater numbers for nums1’s elements in the corresponding pl

2017-12-11 16:25:00 435

原创 412. Fizz Buzz

Problem StatementWrite a program that outputs the string representation of numbers from 1 to n.But for multiples of three it should output “Fizz” instead of the number and for the multiples of five out

2017-12-11 16:14:52 230

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

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