https://practice.geeksforgeeks.org/problems/check-whether-bst-contains-dead-end/1