You are given a 2D grid of 1’s and 0’s where 1’s denotes the land and 0’s denote the water. You need to return the

# Tag: matrix

## Spiral Order Traversal

You are given a N x N matrix, you need to perform a spiral order traversal and print the elements of the matrix in that

## Minimum path sum (DP-14)

You are given an m x n matrix filled with non-negative integers, you need to find a path from top left to bottom right of

## Maximum size square sub-matrix (DP-13)

You are given a binary matrix with 0’s and 1’s. You need to find out the maximum size of a square with all 1’s in