- 博客(2)
- 收藏
- 关注
原创 leetcode - climb steps
Question: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?
2016-05-22 15:16:16 544
原创 leetcode - Majority Element
Problem: (1)Majority Element Given an array of size n, find the majority element. The majority element is the element that appears more than ⌊ n/2 ⌋ times.You may assume that the array is non-empty
2016-05-05 21:54:12 203
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人