自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

yums467的专栏

一点一滴做起

  • 博客(5)
  • 资源 (1)
  • 问答 (2)
  • 收藏
  • 关注

原创 LeetCode题解:Climbing Stairs

题目链接:Climbing Stairs题目描述: You are climbing a stair case. It takes n steps to reach to the top。 Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb to the top?题目解释

2015-07-17 17:58:55 417

原创 LeetCode题解:Path Sum

题目链接:Path Sum题目描述: Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum. For example: Given the be

2015-07-16 10:31:32 490

原创 LeetCode题解:Remove Element

题目链接:Remove Element 题目描述: Given an array and a value, remove all instances of that value in place and return the new length. The order of elements can be changed. It doesn’t matter what you leave

2015-07-16 07:45:19 455

原创 LeetCode题解:Power of Two

题目链接: ## Pow of Two题目描述: Given an integer, write a function to determine if it is a power of two.题目解释:给定一个整数,实现一个函数,来判断这个整数是否是2的次幂。 比如 8 为 2 的 3次幂, 5 则不是 2 的次幂。解题方案:如果一个数能一路被2整除,直到变成数字1,那么这个数就是2的次幂

2015-07-15 09:00:35 521

原创 LeetCode题解:Invert Binary Tree

题目链接:Invert Binary Tree 题目描述: Invert a binary tree 4 / \ 2 7 / \ / \ 1 3 6 9to 4 / \ 7 2 / \ / \ 9 6 3 1

2015-07-03 21:08:36 409

空空如也

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

TA关注的人

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