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
Given a limit N, we need to find out the count of binary digit numbers which are smaller than N. Binary digit numbers are those… Read More
We have seen various methods with different Time Complexities to calculate LCA in n-ary tree:-Method 1 : Naive Method ( by calculating root to node… Read More
Before JDK 5.0, it was not possible to override a method by changing the return type. When we override a parent class method, the name,… Read More
Given an array arr[0..n-1] of the positive element. The task is to print the remaining elements of arr[] after repeated deletion of LIS (of size… Read More
Given an integer array ‘arr[]’ of size n, find sum of all sub-arrays of given array.  Examples : Attention reader! Don’t stop learning now. Get hold… Read More
We have an array of integers and we have to find two such elements in the array such that sum of these two elements is… Read More
Given four numbers A, B, C and M, where M is prime number. Our task is to find ABC (mod M).Example:   Input : A =… Read More
Round 1 : This was an online objective round comprising of 4 sections : aptitude, basic Reasoning, English and a technical section which included questions… Read More
  Given n processes with their burst times, the task is to find average waiting time and average turn around time using FCFS scheduling algorithm. First… Read More
Given a sequence of three binary sequences A, B and C of N bits. Count the minimum bits required to flip in A and B… Read More
Given a binary matrix of N x M, containing at least a value 1. The task is to find the distance of nearest 1 in… Read More
Given an array which contains integer values, we need to make all values of this array equal to some integer value with minimum cost where… Read More
Given an array of k numbers factor[], the task is to print first n numbers (in ascending order) whose factors are from the given array.… Read More
The Affine cipher is a type of monoalphabetic substitution cipher, wherein each letter in an alphabet is mapped to its numeric equivalent, encrypted using a… Read More
Given two polynomial numbers represented by a linked list. Write a function that add these lists means add the coefficients who have same variable powers.Example:  … Read More