- 博客(6)
- 收藏
- 关注
原创 【leetcode】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?
2016-06-08 12:34:02 190
原创 【leetcode】Power of Three
Given an integer, write a function to determine if it is a power of three.
2016-06-02 13:46:41 197
原创 【leetcode】Intersection of Two Arrays II
Given two arrays, write a function to compute their intersection.
2016-06-01 19:40:06 182
原创 【leetcode】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.
2016-06-01 16:01:28 186
原创 【leetcode】Excel Sheet Column Number
Given a column title as appear in an Excel sheet, return its corresponding column number.
2016-06-01 15:36:24 180
原创 【leetcode】Valid Anagram
Given two strings s and t, write a function to determine if t is an anagram of s.
2016-06-01 10:32:56 181
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人