Skip to content
Gblog Must Do Coding Questions for Product Based Companies
As the placement season is back, Geeksforgeeks is here to help you crack the interview. We have selected some most commonly asked and MUST DO… Read More
February 15, 2021
Given an infinite complete binary tree rooted at node 1, where every ith node has two children, with values 2 * i and 2 *… Read More
Given two binary strings S1 and S2 of size N and M respectively, the task is to find the minimum number of reversal of substrings… Read More
Given a positive integer N, the task is to check if the given number N has at least 1 odd divisor from the range [2,… Read More
Given an array arr[] of size N, the task is to find the price of the item such that the profit earned by selling the… Read More
Given an array arr[] consisting of N positive integers, the task for each array element arr[i] is to find all the digits from [0, 9]… Read More
Given an array arr[] representing a permutation of first N natural numbers, the task is to find the lexicographically smallest permutation of the given array… Read More
Given an array arr[] consisting of N integers, the task is to partition the array into two non-empty subarrays such that every element present in… Read More
Given an array arr[] consisting of N positive integers, the task is to count the number of subarrays with product of its elements equal to… Read More
Given an array arr[][2] consisting of N pair of strings representing the starting and ending time (in 12 hours format) and a string P which… Read More
Given an array Q[][] consisting of N queries of the form {L, R}, the task for each query is to find the total count of… Read More
Given a string S containing lowercase English alphabets, and a matrix shift[][] consisting of pairs of the form{direction, amount}, where the direction can be 0… Read More
Big Data is a collection of data that is growing exponentially, and it is huge in volume with a lot of complexity as it comes… Read More
Android is an operating system based on a modified version of the Linux kernel, and it was primarily designed for touchscreen mobile devices such as… Read More
Given an array Q[][] consisting of N queries of the form {L, R}, the task for each query is to find the total count of… Read More
Given two strings S and N of the same length, consisting of alphabetical and numeric characters respectively, the task is to generate a new string… Read More