int climbStairs(int n) { if(n < 4) return n; int dp[10]; dp[0] = 0; dp[1] = 1; dp[2] = 2; int i; i = 3; while(i