摘要: https://leetcode-cn.com/problems/degree-of-an-array/ 这个题跟昨天做的子串很相似哈,哈希表+滑动窗口完成。 class Solution { public int findShortestSubArray(int[] nums) { HashMap 阅读全文
posted @ 2020-05-24 11:09 ZJPang 阅读(208) 评论(0) 推荐(0)