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
1. Telephonic Interview (QA Lead Round) Q1. Test cases for add to cart functionality Q2. Sql query to find second maximum salary in each department.… Read More
Open Source softwares are softwares for which the original source code is made freely available and may be redistributed and modified. As a Programmer, we… Read More
You have an array of N numbers, where N is at most 32,000. The array may have duplicate entries and you do not know what… Read More
Given a positive number n, we need to print exactly k positive numbers (all greater than 1) such that product of those k numbers is… Read More
Suppose you are creating an account on Geekbook, you want to enter a cool username, you entered it and got a message, “Username is already… Read More
This article focuses on how one can parse a XML file in Java.XML : XML stands for eXtensible Markup Language. It was designed to store… Read More
  Dynamic memory allocation in C/C++ refers to performing memory allocation manually by programmer. Dynamically allocated memory is allocated on Heap and non-static and local… Read More
One fascinating area of research uses GPS to track the movements of animals. It is now possible to manufacture a small GPS device that is… Read More
Given a string of digits 0 – 9. The task is to count a number of substrings which when converting into integer form an even… Read More
Round 1: (Written – Pen & Paper) Lowest common ancestor in binary search tree Remove minimum characters from two strings to become anagram Round 2:… Read More
Given a matrix of n X n. The task is to calculate the absolute difference between the sums of its diagonal.Examples:   Input : mat[][] =… Read More
Given a set of non-negative distinct integers, and a value m, determine if there is a subset of the given set with sum divisible by… Read More
Given a right triangle of numbers, find the largest of the sum of numbers that appear on the paths starting from the top towards the… Read More
Given a matrix of size n x n, find the sum of the Zigzag sequence with the largest sum. A zigzag sequence starts from the… Read More
What is Prufer Code? Given a tree (represented as graph, not as a rooted tree) with n labeled nodes with labels from 1 to n, a… Read More