450

DSA Notes

450 Problems

  • []Array
    36
  • [[]]Matrix
    10
  • "s"String
    43
  • ?Searching & Sorting
    36
  • ->LinkedList
    36
  • /\Binary Trees
    35
  • <>BST
    22
  • $Greedy
    35
  • <-BackTracking
    19
  • ||Stacks & Queues
    38
  • /\Heap
    18
  • o-oGraph
    44
  • TTrie
    6
  • DPDynamic Programming
    60
  • 01Bit Manipulation
    10
Home/Category/Matrix
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