Java solution collection · page 35 of 43
Java Competitive Programming Solutions — Page 35
Browse 6,362 competitive programming problems with Java solutions, explanations, and problem links when available. Page 35 of 43 lists problems 5,101–5,250.
Showing problems 5,101–5,250 of 6,362. Every problem in this collection is available across these pages.
Minimum Cost to Change the Final Value of Expression
Implementation & simulation · 3 languages
Minimum Difference Between Highest and Lowest of K Scores
Sorting & searching · 3 languages
Minimum Difference Between Largest and Smallest Value in Three Moves
Sorting & searching · 3 languages
Minimum Distance to Type a Word Using Two Fingers
Implementation & simulation · 3 languages
Minimum Division Operations to Make Array Non Decreasing
Arrays & prefix sums · 3 languages
Minimum Equal Sum of Two Arrays After Replacing Zeros
Implementation & simulation · 3 languages
Minimum Garden Perimeter to Collect Enough Apples
Implementation & simulation · 3 languages
Minimum Number of Buckets Required to Collect Rainwater from Houses
Implementation & simulation · 3 languages
Minimum Number of Flips to Convert Binary Matrix to Zero Matrix
Data structures · 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
Minimum Number of Operations to Move All Balls to Each Box
Implementation & simulation · 3 languages
Minimum Number of Seconds to Make Mountain Height Zero
Implementation & simulation · 3 languages