2900 - 2999
Solutions categorised by Problem IDs
2905 - Find Indices With Index and Value Difference IIFind indices meeting both distance thresholds in one pass by tracking extreme values among eligible earlier positions.2903 - Find Indices With Index and Value Difference IFind indices meeting minimum index and value gaps by testing pairs or tracking extreme eligible earlier values.2913 - Subarrays Distinct Element Sum of Squares ISum squared distinct-element counts by extending each subarray and tracking the values encountered.2914 - Minimum Number of Changes to Make Binary String BeautifulMinimize changes to form even-length uniform binary substrings by counting adjacent pairs whose two bits differ.