Array Problems
Practise 40 array problems from basics to advanced in Python, C++, Java, JavaScript and TypeScript.
This track covers traversal, in-place updates, reversing and rotating, counting, running totals, two-pointer scans and greedy choices. The problems run from easy to hard, so each idea builds on the one before. Every problem here can be solved with arrays and simple loops alone, with no extra data structures to learn first. Every problem is judged against hidden test cases in five languages.
What you will practise:
- Basics: 14 easy problems such as Runner-Up Score, Line-up Mismatch and Change at the Stall.
- Core Problems: 21 medium problems such as Everyone But Me, Next Arrangement and Ice Cream Budget.
- Hard Problems: 5 hard problems such as Candy Line, Earliest Full Bloom and Budget Stretch With Refunds.
Start with the basics, move on to the core problems, and try the hard ones when the pattern feels natural. Every problem comes with worked examples and clear constraints. For a full path across all of DSA, see Revquix 80, Revquix 150 and Revquix 300.
- 3 sections
- 40 problems
What it covers
The path
- Everyone But MeMedium
- Batch Range UpdatesMedium
- Carpool CapacityMedium
- Three Equal SlicesMedium
- Trios to ZeroMedium
- Nearest Trio TotalMedium
- Quartets to TargetMedium
- Widest Water TankMedium
- Three-Flag SortMedium
- At Most TwiceMedium
- Next ArrangementMedium
- Power Token PlayMedium
- Citation IndexMedium
- Blend to TargetMedium
- Fuel LoopMedium
- Two-City SplitMedium
- Head-to-Head WinsMedium
- Meet in the Middle ValueMedium
- Ants on a PlankMedium
- Equalise by RaisingMedium
- Ice Cream BudgetMedium