Given a binary matrix of R rows and C columns. We are allowed to flip to any size of sub matrix. Flipping means changing 1… Read More
Tag Archives: featured
We are given n blocks of size 1 x 1, we need to find the minimum perimeter of the grid made by these blocks.Examples : … Read More
As we know, Mergesort is a divide and conquer algorithm that splits the array to halves recursively until it reaches an array of the size… Read More
Given a weighted and undirected graph, we need to find if a cycle exist in this graph such that the sum of weights of all… Read More
Given that integers are being read from a data stream. Find the median of all the elements read so far starting from the first integer… Read More
Courses