Java solution collection · page 33 of 43
Java Competitive Programming Solutions — Page 33
Browse 6,362 competitive programming problems with Java solutions, explanations, and problem links when available. Page 33 of 43 lists problems 4,801–4,950.
Showing problems 4,801–4,950 of 6,362. Every problem in this collection is available across these pages.
Maximum Difference Between Adjacent Elements in a Circular Array
Arrays & prefix sums · 3 languages
Maximum Difference Between Even and Odd Frequency I
Implementation & simulation · 3 languages
Maximum Difference Between Even and Odd Frequency II
Backtracking & recursion · 3 languages
Maximum Element-Sum of a Complete Subset of Indices
Implementation & simulation · 3 languages
Maximum Frequency of an Element After Performing Operations I
Data structures · 3 languages
Maximum Frequency of an Element After Performing Operations II
Data structures · 3 languages
Maximum Number of Non-Overlapping Subarrays With Sum Equals Target
Data structures · 3 languages
Maximum Number of Operations to Move Ones to the End
Implementation & simulation · 3 languages
Maximum Number of Operations With the Same Score I
Implementation & simulation · 3 languages
Maximum Number of People That Can Be Caught in Tag
Implementation & simulation · 3 languages
Maximum Number of Removal Queries That Can Be Processed I
Dynamic programming · 3 languages
Maximum Number That Sum of the Prices Is Less Than or Equal to K
Implementation & simulation · 3 languages
Maximum Product of Subsequences With an Alternating Sum Equal to K
Data structures · 3 languages
Maximum Profitable Triplets With Increasing Prices I
Implementation & simulation · 3 languages
Maximum Profitable Triplets With Increasing Prices II
Implementation & simulation · 3 languages
Maximum Score from Performing Multiplication Operations
Implementation & simulation · 3 languages
Maximum Side Length of a Square with Sum Less than or Equal to Threshold
Arrays & prefix sums · 3 languages