Skip to content
All Medium Articles
Inline function is one of the important feature of C++. So, let’s first understand why inline functions are used and what is the purpose of… Read More
Given a string, check if it is a rotation of a palindrome. For example your function should return true for “aab” as it is a… Read More
Things to learn in this article: Importance of pointer in C/C++. Problems with normal pointer. Why smart pointers introduce. Types of smart pointer. Importance of… Read More
  We have discussed an introduction to Constructors in C++. In this post, the copy constructor is discussed.What is a copy constructor? A copy constructor is… Read More
I recently cleared the Amazon SDE position. Through out my preparation GeeksforGeeks played great role, this is the only site which i referred/followed more than… Read More
Round 1: (1 h) ============== Q1. Design a Garbage collector like java. How would you detect depended reference loop? Hist : Class design, Cycle detection… Read More
Area of a circle can simply be evaluated using following formula.    Area = pi * r2 where r is radius of circle   Recommended:… Read More
Transpose of a matrix is obtained by changing rows to columns and columns to rows. In other words, transpose of A[][] is obtained by changing… Read More
Like other product based companies, Microsoft also asks data structures and algorithms as part of their technical interview. Below is a of questions prepared from… Read More
Tower of Hanoi is a mathematical puzzle where we have three rods and n disks. The objective of the puzzle is to move the entire… Read More
Anudeep Nekkanti embodies the old adage – there is no substitute for talent. The 21-year-old coder from Samalkot (a small town near Vishkhapatnam) has landed… Read More
Given an array of integers and a number x, find the smallest subarray with sum greater than the given value.  Examples: arr[] = {1, 4,… Read More
25 question 1hr time All Are MCQ: 1 mark each, no negative marks Domain: C language 1) int main() {     int i;     i = 0;… Read More
Round 1 (F2F): 1) Find the merge point between two lists. 2) Given a sorted array find the number of BSTs you can form. Round… Read More
Hello Geeks, I had interview in amazon few days before. I’m sharing you my experience. It was for SDE-I Profile for Hyderabad(India) location. Round 1:… Read More
Inner class means one class which is a member of another class. There are basically four types of inner classes in java. 1) Nested Inner… Read More
Given an unsorted array, trim the array such that twice of minimum is greater than maximum in the trimmed array. Elements should be removed either… Read More
This post is an extension of How to dynamically allocate a 2D array in C? A one dimensional array can be easily passed as a… Read More
Before the advent of QWERTY keyboards, texts and numbers were placed on the same key. For example, 2 has “ABC” if we wanted to write… Read More
First of all I would like to thanks GeeksforGeeks for such a good website. Round 1 (Written Test) 1. GSAT(Global Samsung Aptitude Test) 2. 30… Read More