Given an integer array, you need to find one continuous subarray that if you only sort this subarray in ascending order, then the whole array ...
Given a list of non negative numbers and a target integer k, write a function to check if the array has a continuous subarray of size at least that sums up to the multiple of k, that is, sums up to n ...
2017-03-05 08:25 3 12959 推荐指数:
Given an integer array, you need to find one continuous subarray that if you only sort this subarray in ascending order, then the whole array ...
Given an integer array, you need to find one continuous subarray that if you only sort this subarray in ascending order, then the whole array ...
Given an array of n positive integers and a positive integer s, find the minimal length of a contiguous subarray of which the sum ≥ s. ...
Given an array of integers `A`, find the sum of `min(B)`, where `B` ranges over every (contiguous) subarray of `A`. Since the answer may be large ...
Given an array of integers and an integer k, you need to find the total number of continuous subarrays whose sum equals to k. Example 1: Note ...
Given an array of integers and an integer k, you need to find the total number of continuous subarrays whose sum equals to k. Example ...
Given an array nums and a target value k, find the maximum length of a subarray that sums to k. If there isn't one, return 0 instead. Note ...
Given a circular array C of integers represented by `A`, find the maximum possible sum of a non-empty subarray of C. Here, a circular array means ...