题解 | #跳台阶扩展问题#
public class Solution {
public int jumpFloorII(int target) {
return (int)Math.pow(2,target-1);
}
}
public class Solution {
public int jumpFloorII(int target) {
return (int)Math.pow(2,target-1);
}
}
相关推荐