摘要:
Given a string s, return the maximum length of a substring such that it contains at most two occurrences of each character. Example 1: Input: s = "bcb 阅读全文
摘要:
You are given an integer array nums and two positive integers m and k. Return the maximum sum out of all almost unique subarrays of length k of nums. 阅读全文
摘要:
Given an array of integers arr and two integers k and threshold, return the number of sub-arrays of size k and average greater than or equal to thresh 阅读全文