• Courses
  • Tutorials
  • Jobs
  • Practice
  • Contests
April 03, 2024 |330 Views
PROBLEM OF THE DAY : 02/04/2024 | Minimum Absolute Difference In BST
Description
Discussion

Welcome to the daily solving of our PROBLEM OF THE DAY with Nitin Kaplas. We will discuss the entire problem step-by-step and work towards developing an optimized solution. This will not only help you brush up on your concepts of BST but also build up problem-solving skills.

In this problem, we are given a binary search tree having n (n>1) nodes, the task is to find the minimum absolute difference between any two nodes.

Give the problem a try before going through the video. All the best!!!
Problem Link: https://www.geeksforgeeks.org/problems/minimum-absolute-difference-in-bst-1665139652/1