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
Sqrt (or Square Root) Decomposition Technique is one of the most common query optimization technique used by competitive programmers. This technique helps us to reduce… Read More
scanf() : The C library function int scanf (const char *format, …) reads formatted input from stdin. Syntax: int scanf(const char *format, ...) Return type:… Read More
This abstract class for writing to character streams. The only methods that a subclass must implement are write(char[], int, int), flush(), and close(). Most subclasses,… Read More
It is an abstract class for reading character streams. The only methods that a subclass must implement are read(char[], int, int) and close(). Most subclasses,… Read More
Consider the below C++ program. Is it right way of returning array from a function? Want to learn from the best curated videos and practice problems,… Read More
Recently I attended interview at Amazon for SDE 1 profile. Round 1 (Written): 3 questions were given and I was asked to write the executable… Read More
Given an integer array, the task is to divide the array into the maximum number of sub-arrays such that the averages of all subarrays are… Read More
Given two arrays, the task is that we find numbers which are present in first array, but not present in the second array. Examples :   Input… Read More
Round 1: Online coding round There is dedicated Samsung software for coding test the question is given below: There is one spaceship. X and Y… Read More
Given an array arr[] of size ‘n’ and a positive integer k. Consider series of natural numbers and remove arr[0], arr[1], arr[2], …, arr[p] from… Read More
Python supports various looping techniques by certain inbuilt functions, in various sequential containers. These methods are primarily very useful in competitive programming and also in… Read More
Given the array representation of Complete Binary Tree i.e, if index i is the parent, index 2*i + 1 is the left child and index… Read More
This class implements an input stream filter for reading files in the ZIP file format. Includes support for both compressed and uncompressed entries. Constructors: ZipInputStream(InputStream… Read More
The JarInputStream class is used to read the contents of a JAR file from any input stream. It extends the class with support for… Read More
Written Test: Questions asked From fallowing concepts: 1. Aptitude 2. C aptitude Questions (very easy vectorians easily crack those) 3. OS basic commands Q1. How… Read More