Tag: Programming Interview

Binary Search Tree – In Order Successor Node – Interview Question

Given a node in a Binary Search Tree, find the next node as per in order traversal. Let’s find out how to answer this question in a technical interview. To begin with, let’s cover real quick what is a binary search tree? A binary search tree is a binary tree data structure with three main…
Read more


June 5, 2020 0

2 Eggs – 100 Floors – Interview Question

You are given two Eggs and you are in a building with 100 Floors. You have to find the minimum floor from which if an egg is dropped, it won’t break. You have to do this in such a manner that your worst case number of attempts is minimized. Let’s find out how to answer…
Read more


November 30, 2018 0

Find Middle Element in a Linked List – Interview Question

Find out middle element in a linked list. Let’s see how to answer this question in a technical interview. To begin with you can draw a linked list on the whiteboard. A linked list has nodes in it which are connected to each other. Each node has two components: the value and reference to next…
Read more


October 12, 2018 0