Check preorder is valid

1 min read

https://practice.geeksforgeeks.org/problems/preorder-to-postorder/0

Given N appointments, find the conflicting appointments
Check whether BST contains dead end