108. Convert Sorted Array to Binary Search Tree - Day 26/31 Leetcode July Challenge

preview_player
Показать описание
Larry solves and analyzes this Leetcode problem as both an interviewer and an interviewee. This is a live recording of a real engineer solving a problem live - no cuts or edits!

#leetcode #coding #programming
Рекомендации по теме
Комментарии
Автор

I am always anxious about using recursive calls. Defining terminal condition and recursive call parameters. Felt awe when you typed construct(left, middle-1) and construct(middle+1, right) without hesitation. If I were in your case, I would have done construct(left, middle), construct(middle, right) first, then debug

jeffreylim
Автор

Wow, , how could you be so good as PS. I'm curious about your background. Seeing your Instagram, you just seem like a photographer, lol

jeffreylim
welcome to shbcf.ru