Company: Media.net IIT BHU

Difficulty: medium

Problem Statement

Find Swapped Nodes in BST Problem Description Given a Binary Search Tree (BST) where exactly two nodes have been swapped by mistake. Your task is to identify these two swapped nodes and return them.

More Media.net IIT BHU OA questionsInterview experiences