Freshworks interview question

Construct BST from Sorted Array