Blog

Reverse a Linked List – Interview Question

Given a singly linked list, reverse it. Let’s find out how to answer this question in a technical interview. Suppose Here is the list:     And here is how the output should look like: A linked list node has 2 components: the value and the reference to the next node. public class Node {…
Read more


September 9, 2020 0

Considerations for making Enterprise REST API Public

What are the points to consider before making an Enterprise REST API Public? Let’s find out in this video. Assuming that you are exposing REST APIs which most organizations are as of today, the first consideration is to follow the REST architectural standards. REST is an architectural style that defines a set of constraints to…
Read more


July 27, 2020 0

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

URL Shortener System Design – Interview Question

Design a URL Shortener System. Let’s find out how to answer this question in a technical interview. Since it’s a system design question, it’s very open ended. As a candidate, you need to ask lots of questions and have a good discussion about various approaches that you can take. You can even discuss similar pre-existing…
Read more


April 4, 2020 0

Are Parentheses Balanced – Interview Question

Given a string expression, find out if the parentheses are balanced or not. Let’s find out how to answer this question in a technical interview. To begin with, let’s understand the question first. In an expression, you can have different types of brackets or parentheses. You need to check whether they are in correct pair…
Read more


January 22, 2020 0

Get the nth Fibonacci Number

Given the index n, find nth Fibonacci number. To begin with, let’s first take a quick look at what Fibonacci series is. The Fibonacci numbers are the numbers in the following integer sequence. 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144 The first two numbers are 0 and 1. And…
Read more


August 24, 2019 0

Add Numbers without using Plus operator – Interview Question

You have to write an algorithm that adds two numbers but you are not allowed to use the plus operator. The first thought that comes to my mind is using binary numbers. We need to think how we can do addition using binary numbers and what all are the steps you follow when you actually…
Read more


May 23, 2019 0

REST APIs And Their Versioning – Interview Question

What are REST APIs and how they are versioned. Let’s see how to answer this question in a technical interview. To begin with, what are REST APIs? The term REST stands for Representational State Transfer. Web services that adhere to REST architectural standards are called RESTful APIs. The REST APIs have a: i) A base…
Read more


March 5, 2019 0

Detect Loop In Linked List – Interview Question

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 node. The head node points to the first element of the linked list. The first thing that comes to…
Read more


January 18, 2019 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