Arrays & prefix sums collection · page 3 of 5
Array and Prefix Sum Solutions — Page 3
Study 644 arrays & prefix sums problems with clear explanations, problem links, and solutions in the available languages. Page 3 of 5 lists problems 301–450.
Showing problems 301–450 of 644. Every problem in this collection is available across these pages.
Longest Non Decreasing Subarray After Replacing at Most One Element
Arrays & prefix sums · 2 languages
Longest Strictly Increasing or Strictly Decreasing Subarray
Arrays & prefix sums · 3 languages
Make Lexicographically Smallest Array by Swapping Elements
Arrays & prefix sums · 3 languages
Maximize Consecutive Elements in an Array After Modification
Arrays & prefix sums · 3 languages
Maximize Subarray Sum After Removing All Occurrences of One Element
Arrays & prefix sums · 3 languages
Maximum Difference Between Adjacent Elements in a Circular Array
Arrays & prefix sums · 3 languages
Maximum Side Length of a Square with Sum Less than or Equal to Threshold
Arrays & prefix sums · 3 languages
Minimizing Array After Replacing Pairs With Their Product
Arrays & prefix sums · 3 languages
Minimum Division Operations to Make Array Non Decreasing
Arrays & prefix sums · 3 languages
Minimum Number of Flips to Make Binary Grid Palindromic I
Arrays & prefix sums · 3 languages
Minimum Number of Flips to Make Binary Grid Palindromic II
Arrays & prefix sums · 3 languages
Minimum Number of Increments on Subarrays to Form a Target Array
Arrays & prefix sums · 3 languages
Minimum Number of Operations to Make All Array Elements Equal to 1
Arrays & prefix sums · 3 languages
Minimum Number of Operations to Make Array XOR Equal to K
Arrays & prefix sums · 3 languages
Minimum Number of Operations to Make Elements in Array Distinct
Arrays & prefix sums · 3 languages