递归
public int JumpFloorII(int target) {
int sum = 0;
if(target==0){
return 1;
}
for(int i=1;i<=target;i++){
sum+=JumpFloorII(target-i);
}
return sum;
}
递归
public int JumpFloorII(int target) {
int sum = 0;
if(target==0){
return 1;
}
for(int i=1;i<=target;i++){
sum+=JumpFloorII(target-i);
}
return sum;
}