算法题中可以使用的一些方法Math.max()int max = Math.max(1,3,5,7);
返回一组数中的最大值
int max = Math.max(max,nums[j])
比较max和nums[j]的大小并将值赋给
2021-11-28