标签:多个 margin describe des 华为 style target public sub
public class Solution { public int JumpFloorII(int target) { int[] a = new int[target + 1]; a[0] = 1; a[1] = 1; for (int i = 2; i <= target; i++){ for (int j = 0; j < i; j++){ a[i]+=a[j]; } } return a[target]; } }
华为上机机试练习 --------------------变态跳台阶 ---------------java语言描述
标签:多个 margin describe des 华为 style target public sub
原文地址:https://www.cnblogs.com/guodao/p/9734613.html