Solution: Random Binary Search Tree
See the solution that implements a treap from a sorted array.
We'll cover the following
Create a free account to access the full course.
By signing up, you agree to Educative's Terms of Service and Privacy Policy