摘要: https://leetcode.com/problems/count-number-of-nice-subarrays/ Given an array of integers nums and an integer k. A continuous subarray is called nice i 阅读全文
posted @ 2020-09-26 07:29 胖虎刷题 阅读(66) 评论(0) 推荐(0)
摘要: Link: https://leetcode.com/problems/subarrays-with-k-different-integers/ Given an array A of positive integers, call a (contiguous, not necessarily di 阅读全文
posted @ 2020-09-26 07:26 胖虎刷题 阅读(108) 评论(0) 推荐(0)