DSA track
Matrix Problems
Practise 30 matrix problems from basics to advanced in Python, C++, Java, JavaScript and TypeScript.
This track covers grid traversal, rotating and spiralling, in-place updates, 2-D prefix sums and searching sorted matrices. The problems run from easy to hard, so each idea builds on the one before. Every problem is judged against hidden test cases in five languages.
What you will practise:
- Basics: 10 easy problems such as Richest Account, Reshape the Tray and Heat Map Smoother.
- Core Problems: 14 medium problems such as Region Totals, Sort the Diagonals and Leftmost Lit Column.
- Hard Problems: 6 hard problems such as Target Rectangles, Islands Appearing and Grid Totals With Updates.
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
- 30 problems
What it covers
The path
- Region TotalsMedium
- Row Meets ColumnMedium
- Spiral ReaderMedium
- Quarter TurnMedium
- Diagonal ZigzagMedium
- Staircase SearchMedium
- Sort the DiagonalsMedium
- Neighbourhood SumsMedium
- Search the Flat GridMedium
- Kth in the Sorted GridMedium
- Maze RoutesMedium
- Grid Row MedianMedium
- Cube Region TotalsMedium
- Leftmost Lit ColumnMedium