摘要:
1 package solution47; 2 import java.util.*; 3 class Solution { 4 public int solution(int n, int[] nums1, int[] nums2) { 5 HashMap<Integer, Integer> ma 阅读全文
摘要:
1 package solution46; 2 import java.util.*; 3 class Solution { 4 public long solution(int n,long[] nums) { 5 long maxNum = 0; 6 long maxSecNum = 0; 7 阅读全文
摘要:
1 package solution45; 2 import java.util.*; 3 class Solution { 4 public int solution(int n, int[] nums) { 5 HashMap<Integer, Integer> map = new HashMa 阅读全文
摘要:
1 package solution44; 2 3 import java.util.*; 4 class Solution { 5 public int solution(int n,int[] nums) { 6 Arrays.sort(nums); 7 int maxVal = nums[n- 阅读全文
摘要:
1 package solution43; 2 import java.util.*; 3 class Solution { 4 public int solution(int a,int b,int c) { 5 int df1 = Math.abs(a-b); 6 int df2 = Math. 阅读全文