About 82,100 results
Open links in new tab
  1. Subarray Sum Equals K - LeetCode

    Subarray Sum Equals K - Given an array of integers nums and an integer k, return the total number of subarrays whose sum equals to k. A subarray is a contiguous non-empty sequence …

  2. Make K-Subarray Sums Equal - LeetCode

    Return the minimum number of operations such that the sum of each subarray of length k is equal. A subarray is a contiguous part of the array. Example 1: Input: arr = [1,4,1,3], k = 2 …

  3. Subarray Sum Equals K - LeetCode

    Subarray Sum Equals K - Given an array of integers nums and an integer k, return the total number of subarrays whose sum equals to k. A subarray is a contiguous non-empty sequence …

  4. Maximum Size Subarray Sum Equals k - LeetCode

    Can you solve this real interview question? Maximum Size Subarray Sum Equals k - Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and …

  5. Continuous Subarray Sum - LeetCode

    Continuous Subarray Sum - Given an integer array nums and an integer k, return true if nums has a good subarray or false otherwise. A good subarray is a subarray where: * its length is at …

  6. What are the premium questions? - Help Center

    Longest Substring with At Most K Distinct Characters Nested List Weight Sum Largest BST Subtree Maximum Size Subarray Sum Equals k Number of Connected Components in an …

  7. LRU Cache - LeetCode

    1. Please don't post any solutions in this discussion. 2. The problem discussion is for asking questions about the problem or for sharing tips - anything except for solutions. 3. If you'd like …