第十七题:70. 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?
上n阶楼梯,每次可以上1节或者两节,求有多少种上楼梯的方法。
函数格式:
int climbStairs(int n) {
}
/**************
最基础的动态规划算法。基本上教算法一定会做到的题。
***************/










