We’re kicking off our back to basics series where Liz breaks down common coding interview questions in an interview-like environment. We’ll take a no slides and more coding approach as Liz uses python to walk through how she would approach solving the problem. This week’s problem is focused on using a binary search tree.
The Challenge:
Given a sorted array with unique integer elements, write a function to create a binary search tree with minimal height.
Video Overview:
0:48 The Problem
1:18 Python setup
1:55 Overview of binary search trees
4:50 Coding a solution
16:54 Testing the solution
19:10 Recap
Please subscribe to our channel!
If you have any recommendations for videos you’d like to see, please comment below.
Additional Resources:
Intro to binary trees • Intro to Binary Trees and Breadth First Tr...
Practice hundreds of real coding challenges at https://coderbyte.com/
Need more practice? Check out our channel for more videos on preparing for a coding interview / coderbytedevelopers
Auf dieser Seite können Sie das Online-Video How to solve a binary search tree question in under 20 mins with Python mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Coderbyte 21 September 2021 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 4,962 Mal angesehen und es wurde von 95 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!