whater呀
whater呀
全部文章
分类
题解(7)
归档
标签
去牛客网
登录
/
注册
whater呀的博客
全部文章
(共17篇)
题解 | #跳台阶扩展问题#
固定起点和终点,中间只有target-1个台阶选择跳到或没跳到,就是2的target-1的次方。(有点像高中的排列组合问题 public class Solution { public int jumpFloorII(int target) { if(target<3)...
2021-05-13
0
460
题解 | #跳台阶扩展问题#
固定起点和终点,中间只有target-1个台阶选择跳到或没跳到,就是2的target-1的次方。(有点像高中的排列组合问题 public class Solution { public int jumpFloorII(int target) { if(target<3)...
2021-05-13
0
366
题解 | #跳台阶扩展问题#
固定起点和终点,中间只有target-1个台阶选择跳到或没跳到,就是2的target-1的次方。(有点像高中的排列组合问题 public class Solution { public int jumpFloorII(int target) { if(target<3)...
2021-05-13
0
393
题解 | #跳台阶扩展问题#
固定起点和终点,中间只有target-1个台阶选择跳到或没跳到,就是2的target-1的次方。(有点像高中的排列组合问题 public class Solution { public int jumpFloorII(int target) { if(target<3)...
2021-05-13
0
405
题解 | #跳台阶扩展问题#
固定起点和终点,中间只有target-1个台阶选择跳到或没跳到,就是2的target-1的次方。(有点像高中的排列组合问题 public class Solution { public int jumpFloorII(int target) { if(target<3)...
2021-05-13
0
442
题解 | #跳台阶扩展问题#
固定起点和终点,中间只有target-1个台阶选择跳到或没跳到,就是2的target-1的次方。(有点像高中的排列组合问题 public class Solution { public int jumpFloorII(int target) { if(target<3)...
2021-05-13
0
338
题解 | #不用加减乘除做加法#
如果只是想过题的话。。调用Math封装的方法就好了XD public class Solution { public int Add(int num1,int num2) { return Math.addExact(num1,num2); } }
2021-05-12
0
488
首页
上一页
1
2
下一页
末页