11 lessons · DSA pattern
Matrix
A matrix is a list of lists. Every problem here asks for one of six moves on that grid. You already know: Arrays (indexing, prefix sums), Hashmaps (seen-se…
Start learning →A matrix is a list of lists. Every problem here asks for one of six moves on that grid. You already know: Arrays (indexing, prefix sums), Hashmaps (seen-se…
Start learning →