Dell Technologies interview question

Binary Search Trees Questions about semaphores and locks