Convert Sorted Array or List to Binary Search Tree | LeetCode Java Solutions | Geekific

preview_player
Показать описание

In the last couple videos of this series, we’ve been tackling trees, binary trees to be more precise. In this video, we solve a couple problems that tackle binary search trees specifically.

LeetCode Problems solved in this video:

Timestamps:
00:00 Introduction
00:23 Convert Sorted Array to BST
02:19 Convert Sorted List to BST
04:15 Thanks for Watching!

If you found this video helpful, check other Geekific uploads:

#Geekific #ConvertArrayToBST #ConvertListToBST #CodingInteview #LeetCode #Java #Google #Amazon #Meta #Microsoft #Apple #Netflix
Рекомендации по теме
Комментарии
Автор

Great videos! I think at the end in the getMid method, you should change the return slow to return prev

raminessalat
visit shbcf.ru