Interview Questions asked in Hp

Boundary Traversal Of Binary Tree EASY

Perform boundary trversal on a given binary tree.

Binary Tree Recursion
Reverse A Linked List EASY

Given a linked list, reverse the direction of nodes in the list.

Linked List Recursion
Deletion In Binary Search Tree MEDIUM

Delete a node from BST (Binary Search Tree) such that the resultant tree is also a BST.

Binary Tree Recursion
Detect And Remove Loop From A Linked List MEDIUM

Given a linked list, check if it has a loop. If yes, remove the loop.

Linked List
MyntraUberHPYatraPayTM 8 more
Asked in
Connect Siblings In Binary Tree MEDIUM

Given a binary tree, connect the sibling nodes at each level.

Binary Tree Queue
Construct Binary Tree From Its PreOrder And InOrder MEDIUM

Given pre-order & in-order traversal of a binary tree, construct the tree.

Binary Tree Recursion
IntuitHPIBMDellTracxn 9 more
Asked in
Print Cousins In Binary Tree MEDIUM

Given a binary tree, print the cousins of the given node.

Binary Tree Recursion
IBMDellMacquarieIntuitHP 8 more
Asked in
Largest K Integers From Stream Of Integers HARD

Given a stream of integers, find the largest K integers.

Heap Sorting


Search by Category

ArrayDynamic ProgrammingStringLinked ListBinary TreeStackQueueGraphMatrixSortHeapRecursionMisc

Search by Company

GoogleAppleMicrosoftFacebookAmazonOracleGoldman SachsOla CabsUberFlipkartMyntraHCLTCSWiproCognizantAccentureZohoZomatoMakeMyTripYatraHPSwiggyIBMTracxnVMWareCisco

Search by Difficulty Level

EASY MEDIUM HARD