面试题10- II. 青蛙跳台阶问题
class Solution { public int numWays(int n) { if (n <= 1) { return 1; } if (n == 2) { return 2; } long first = 1; long s...