The Wayback Machine - https://web.archive.org/web/20210720193411/https://www.geeksforgeeks.org/
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
Data Science is a sub-part of Big Data that has characterized itself by velocity (of datasets reached unprecedented heights), variety (of datasets that can be… Read More
React…We all know the importance of this library in the tech industry. Most of the applications are switching to React because of its advantages and… Read More
Given a positive integer N, the task is to count the number of N-digit numbers such that every index (1-based indexing) in the number is… Read More
Given a binary string s, the task is to calculate the number of such substrings where the count of 1‘s is strictly greater than the… Read More
Given an array arr[] of size N, the task is to print the minimum number of moves required to make all array elements equal by… Read More
Given N horizontal lines represented by an array position[][] of size N, where position[i] represents the ith horizontal line which has x-coordinates from position[i][0] to… Read More
Given an array arr[] of positive integers representing prices of stocks and an integer transactionFee, the task is to find the maximum profit possible after… Read More
Given an integer N, representing the number of workers, an array speed[ ], where speed[i] represents the speed of the ith worker, and an array efficiency[… Read More
Given an unsorted Singly Linked List consisting of N nodes that may contain duplicate elements, the task is to remove all but the last occurrence… Read More
Given a 2D array, arr of size N*N where arr[i][j] denotes the cost to complete the jth job by the ith worker. Any worker can… Read More
Given a binary string str[] of size N and an integer M. This binary string can be modified by flipping all the 0’s to 1… Read More
Given a rectangle of length L and breadth B, the task is to print the maximum integer altitude possible of the largest triangle that can… Read More
Given an array arr[] of N integers, the task is to print the last element left of every suffix array obtained by performing the following… Read More
Given an array arr[] of size N, the task is to find another array brr[] of size 2*N such that it is non-decreasing and for… Read More
Given N children standing in a circle waiting to be executed, and a number K, which indicates that K-1 children are skipped in the clockwise… Read More
Given a sorted array, arr[] consisting of N integers, the task is to find the frequencies of each array element. Examples:  Input: arr[] = {1,… Read More
Given an array arr[] of size N, the task is to find an array of size N, such that for every ith element of the… Read More