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
First round was a written round. second round was a written coding round. third was a technical personal interview round. fourth and fifth were HR… Read More
Amortized Analysis is used for algorithms where an occasional operation is very slow, but most of the other operations are faster. In Amortized Analysis, we… Read More
Consider the below C++ program. #include<iostream> using namespace std; class A { public:      A(){ cout <<"1";}      A(const A &obj){ cout <<"2";} };    class B:… Read More
Given an n x n square matrix, find sum of all sub-squares of size k x k where k is smaller than or equal to… Read More
SAP Labs Procedure consists of 5 rounds. 1) ONLINE EXAM 2) APPLICATION DESIGNE 3) TECHNICAL 4) MANAGERIAL 5) HR 1 Round: ONLINE EXAM First round… Read More
Written round: 1. Write a parser which takes java file as input and give count of uncommented lines as output. I wrote code with regular… Read More
The microinstructions stored in the control memory of a processor have a width of 26 bits. Each microinstruction is divided into three fields: a micro-operation… Read More
Consider a small two-way set-associative cache memory, consisting of four blocks. For choosing the block to be replaced, use the least recently used (LRU) scheme.… Read More
Directions for question 63 to 64: Consider the following program segment for a hypothetical CPU having three user registers R1, R2 and R3. Instruction Operation… Read More
Direction for questions 63 to 64: Consider the following program segment for a hypothetical CPU having three user registers R1, R2 and R3. Instruction Operation… Read More
Given a very large n-ary tree. Where the root node has some information which it wants to pass to all of its children down to… Read More
Write a C program that displays contents of given line page by page. Given number of lines to show as ‘n’ at a time and… Read More
A 4-bit carry lookahead adder, which adds two 4-bit numbers, is designed using AND, OR, NOT, NAND, NOR gates only. Assuming that all the inputs… Read More
Cracking a Day 1 slot company like DE Shaw is not an easy feat. They try to hire the best candidate out there in campus… Read More
Amazon visited our campus for summer internship. I prepared from Amazon Interview Sets which were pretty helpful! Here is my experience : DAY 1 They… Read More