Arrays interview questions


  1. Write code snippet for displaying matrix elements in a spiral order
  2. Create a matrix with alternating rectangles of O and X
  3. Find minimum element in rotated and sorted array
  4. Find an element in 2D sorted array or search target element in 2D sorted array
  5. Find minimum element in rotated and sorted array , if elements are not unique.

1 Comments

Previous Post Next Post