## MakeMyTrip Interview Experience | Set 8 (On-Campus)

MakeMyTrip recently visited our campus. There were 4 rounds. Online Round ( 1 Hour ) This round consisted of 20 aptitude questions and 3 coding… Read More »

- Two nodes of a BST are swapped, correct the BST | Set-2
- Total number of possible Binary Search Trees using Catalan Number
- Merge two BSTs with constant extra space
- Applications of BST
- Find the node with maximum value in a Binary Search Tree using recursion
- Lexicographically Smallest Topological Ordering
- Sum of all the levels in a Binary Search Tree
- Pair with a given sum in BST | Set 2
- Find the node with minimum value in a Binary Search Tree using recursion
- Number of pairs with a given sum in a Binary Search Tree
- Implementing Forward Iterator in BST
- Print Binary Search Tree in Min Max Fashion
- Generate two BSTs from the given array such that maximum height among them is minimum
- Pair with minimum absolute difference | BST
- Triplet with a given sum in BST | Set 2
- Nodes from given two BSTs with sum equal to X
- Implementing a BST where every node stores the maximum number of nodes in the path till any leaf
- Red-Black Trees | Top-Down Insertion
- Number of edges in mirror image of Complete binary tree
- Flatten BST to sorted list | Increasing order
- Implementing Backward Iterator in BST
- Pre-Order Successor of all nodes in Binary Search Tree
- Find the minimum absolute difference in two different BST's
- Flatten BST to sorted list | Decreasing order
- Find maximum count of duplicate nodes in a Binary Search Tree

MakeMyTrip recently visited our campus. There were 4 rounds. Online Round ( 1 Hour ) This round consisted of 20 aptitude questions and 3 coding… Read More »

In this article, first count of possible BST (Binary Search Trees)s is discussed, then construction of all possible BSTs. How many structurally unique BSTs for… Read More »

Given a Binary Search Tree (BST) and a positive integer k, find the k’th smallest element in the Binary Search Tree. For example, in the… Read More »

Given a Binary Search Tree (BST) of integer values and a range [low, high], return count of nodes where all the nodes under that node… Read More »

Last month i was interviewed by Ola for SDE 1 post. Here is my experience. Round 1 a. Inorder predecessor and successor for a given… Read More »

Given a Binary Search Tree (BST) and a range, count number of nodes that lie in the given range. Examples: Input: 10 / \ 5… Read More »

Given an infinite stream of integers, find the k’th largest element at any point of time. Example: Input: stream[] = {10, 20, 11, 70, 50,… Read More »

Given a Binary Search Tree(BST), find the second largest element. Examples: Input: Root of below BST 10 / 5 Output: 5 Input: Root of below… Read More »

Round 1: written Apti, C, C++, OS, DS Round 2: coding 2 questions, 30 mins 1. Serialize and deserialize a given n-ary tree. Ans: solved… Read More »

Design a data structure to do reservations of future jobs on a single machine under following constraints. 1) Every job requires exactly k time units… Read More »

In a Binary Search Tree (BST), all keys in left subtree of a key must be smaller and all keys in right subtree must be… Read More »

I had interview with VMWare. Their process is 1 written test followed by 1 telephonic and 3/4 f2f interviews. Writtent test Very basic questions. They… Read More »

I had an interview with BankBazaar.com. Their process is online coding test followed by a telephonic and f2f interviews. Written test The person who wrote… Read More »

Hash Table supports following operations in Θ(1) time. 1) Search 2) Insert 3) Delete The time complexity of above operations in a self-balancing Binary Search… Read More »

Written MCQ There were 20 multiple choice questions to be done in 30 minutes time and most of the technical questions were from geeksquiz ,… Read More »