摘要:
class Solution { public int countGoodTriplets(int[] arr, int a, int b, int c) { int n = arr.length, res = 0; for(int i = 0; i < n - 2; i++) { for(int 阅读全文
posted @ 2020-08-04 15:52
Sexyomaru
阅读(119)
评论(0)
推荐(0)
摘要:
方法一:滑动窗口 class Solution { public int[] smallestRange(List<List<Integer>> nums) { int size = nums.size(); Map<Integer,List<Integer>> map = new HashMap< 阅读全文
posted @ 2020-08-04 10:30
Sexyomaru
阅读(179)
评论(0)
推荐(0)

浙公网安备 33010602011771号