Dataford
Interview QuestionsInterview GuidesExperiencesMock InterviewsPricing
Get started

Searching in a Binary Search Tree

EasyCoding00:00
I
Practice interviewer
In session
5 left
00:00

Your question is Searching in a Binary Search Tree. Take a moment with it on the right.

Talk me through your thinking if you like. When you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes).

You need to log in / sign up to chat or submit.

Problem

Walk through how you search for a value in a binary search tree. Explain the decision made at each node and give the time complexity in balanced and worst-case cases.