The solution will be evaluated on following parameters. Object Oriented Design aspects of the solution. Overall coding practices. Working test cases of… Read More

We have discussed Introduction to Binary Tree in set 1 and Properties of Binary Tree in Set 2. In this post, common types of… Read More

We have discussed Introduction to Binary Tree in set 1. In this post, the properties of a binary tree are discussed. 1) The maximum number… Read More

Click here to see the documentation of the first phone interview. The video conference came after passing the phone interview, it was held on Skype… Read More

Click here to see the documentation of the video conference. Before proceeding to reading this, make sure you read a little about bloomberg, and most… Read More

The interview was scheduled after I passed the coding challenge. The coding challenge was kinda simple, it was a grid, with each cell connected to… Read More

Consider the following famous puzzle. In a country, all families want a boy. They keep having babies till a boy is born. What is the… Read More

Given an array of integers, update every element with multiplication of previous and next elements with following exceptions. a) First element is replaced by multiplication of… Read More

Here is the collection of TOP 25 frequently asked questions based on experience (mine and friends) of interviews in multiple companies. 1) Lowest common… Read More

Given a doubly linked list, write a function to sort the doubly linked list in increasing order using merge sort.For example, the following doubly linked… Read More

Given two unsorted arrays that represent two sets (elements in every array are distinct), find the union and intersection of two arrays.For example, if the… Read More

Prerequisite: Random Variable This post is about mathematical concepts like expectation, linearity of expectation. It covers one of the required topics to understand Randomized Algorithms.… Read More

I have gone through few rounds while rest of the round questions are standard ones and already in the internet, I couldn’t find this problem… Read More

I had a total of 5 rounds.Initially I thought there will be only 3 rounds. Round 1: 1. Rotate a matrix by 90 degrees clockwise.(… Read More

The Tower of Hanoi is a mathematical puzzle. It consists of three poles and a number of disks of different sizes which can slide onto… Read More