Skip to content

Tag Archives: featured

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
Print the elements of an array in the decreasing frequency if 2 numbers have the same frequency then print the one which came first. Examples: â€¦ Read More
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 n tasks with arrival time, priority and number of time units they need. We need to schedule these tasks on a single resource. The… Read More
Given a number check whether it is a power of 8 or not. Examples :  Input : n = 64 Output : Yes Input :… 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

Start Your Coding Journey Now!