10 Problems
Matrix
Master matrix problems with detailed brute force and optimal solutions.
01
Spiral traversal on a Matrix
Click to view brute force and optimal solutions
02
Search an element in a matrix
Click to view brute force and optimal solutions
03
Find median in a row wise sorted matrix
Click to view brute force and optimal solutions
04
Find row with maximum no. of 1s
Click to view brute force and optimal solutions
05
Print elements in sorted order using row-column wise sorted matrix
Click to view brute force and optimal solutions
06
Maximum size rectangle
Click to view brute force and optimal solutions
07
Find a specific pair in matrix
Click to view brute force and optimal solutions
08
Rotate matrix by 90 degrees
Click to view brute force and optimal solutions
09
Kth smallest element in a row-column wise sorted matrix
Click to view brute force and optimal solutions
10
Common elements in all rows of a given matrix
Click to view brute force and optimal solutions