Skip to content
All Hard Articles
Amazon sde2 experience: Telephonic round : Design a site similar to junglee.com. Assume you are given a crawler, design a distributed system , what ds… Read More
In Manacher’s Algorithm Part 1 and Part 2, we gone through some of the basics, understood LPS length array and how to calculate it efficiently… Read More
Given the following expression grammar: E -> E * F | F + E | F F -> F - F | id which of… Read More
Consider the values A = 2.0 x 1030, B =-2.0 x 1030, C= 1.0, and the sequence X: = A + B Y: = A… Read More
In Manacher’s Algorithm – Part 1, we gone through some of the basics and LPS length array. Here we will see how to calculate LPS… Read More
Given a string, find the longest substring which is palindrome.  if the given string is “forgeeksskeegfor”, the output should be “geeksskeeg” if the given string… Read More
UHG (United Health Group) came to our campus for software developer profile. Written Aptitude Round: 60 min Contained basic logic based questions. 30 problems. Difficulty… Read More
Recently I appeared in for off-campus Amazon Interviews for SDE position and here is my experience. Round 1: 1 hour written test Q1. Given a… Read More
1st Round: MCQ test consisting of 30 questions to be done in 30 minutes with from topics like Trees, Graphs, SQL, Data bases, Computer Architecture,… Read More
MCQ Round: 15 MCQS were asked on c,c++, OS. Coding Round: 1) Given a linked list of co-ordinates where adjacent points either form a vertical… Read More
ONLINE ROUND: 3 coding Questions in 1 hour : 1) Given a binary search tree and a key, if found return 1 else -1. 2)… Read More
Recently I have participated in Amazon SDE interview for Chennai location Kindle team. Kindle team has arrived Bangalore location to take drive. I have given… Read More
We recommend reading following posts as a prerequisite of this post. K’th Smallest/Largest Element in Unsorted Array | Set 1 K’th Smallest/Largest Element in Unsorted… Read More
Given two sorted linked lists, construct a linked list that contains maximum sum path from start to end. The result list may contain nodes from… Read More
Goldman Sachs Interview Experience Round1: Introduce yourself and what are the projects you have worked on and detail discussion about the most recent project. Implement… Read More
Consider the C program shown below. #include <stdio.h> #define print(x) printf("%d ", x) int x; void Q(int z) {     z += x;     print(z); } void… Read More
A 2 km long broadcast LAN has 107 bps bandwidth and uses CSMA/CD. The signal travels along the wire at 2 × 108 m/s. What… Read More
Suppose we want to synchronize two concurrent processes P and Q using binary semaphores S and T. The code for the processes P and Q… Read More
A processor uses 2-level page tables for virtual to physical address translation. Page tables for both levels are stored in the main memory. Virtual and… Read More
A processor uses 2-level page tables for virtual to physical address translation. Page tables for both levels are stored in the main memory. Virtual and… Read More