https://www.nowcoder.com/practice/8c82a5b80378478f9484d87d1c5f12a4?tpId=190&&tqId=35199&rp=1&ru=/ta/job-code-high-rd&qru=/ta/job-code-high-rd/question-ranking
public class Solution { public int JumpFloor(int target) { if(target==0) { return 0; } if(target==1) { return 1; } if(target==2) { return 2; } return JumpFloor(target - 1)+JumpFloor(target - 2); } }
相关推荐
招聘动态
查看更多
快手
2025届校园招聘