leetcode:561. 數組拆分 I

class Solution { public int arrayPairSum(int[] nums) { /* 1 4 3 5 9 2 1 2 3 4 5 9 12 34 59 */ if(nums.length==2){ return Math.min(nums[0], nums[1]); }
相關文章
相關標籤/搜索