Unique Binary Search Trees II | Leetcode 95 | Live coding session 🔥🔥🔥

preview_player
Показать описание
Here is the solution to "Unique Binary Search Trees II" leetcode question. Hope you have a great time going through it.

1) 0:00 Explaining the problem out loud
2) 1:10 Algorithm walkthrough
3) 4:30 Solution approach
4) 7:00 Coding

For discussion/feedback

PS : Please increase the speed to 1.25X
Рекомендации по теме
Комментарии
Автор

Wow buddy, awesome explanation and power of recursion.

Coolharshit
Автор

This is really good, Thank you for this.

gourav.barkle
Автор

eagerly waiting for todays question !!

LegitGamer
Автор

I understood thoroughly. Keep up the good work.

vadirajjahagirdar
Автор

You are a saviour ... Whenever I. Found a doubt
1) Go to leetcode Discuss
2) if(! understood)
Coding decoded bhaiya video ...
3) return concept clear. 😂

disunique
Автор

Thank you for this!!
Could you also please talk about time and space complexity?

dhruvdhiman
Автор

Great explanation and solution as usual. But this would be a nightmare to code in C (that's my goto language). 😞

avdd
Автор

it would be better if the recursive tree diagram is also explained.

rajivsarkar
Автор

This solution is all over the internet, how can someone come up with this solution during interviews? Also you missed a lot of key points and main edge case when you were discussing about your code.

okeyD
Автор

plz keep on doing the monthly challenge! I love it very much!

shrimpo
Автор

thank you😍😍..bro whats time complexity fr this ?

sulthanmogal
Автор

Nice explanation sir...thanks a lot for the video.
A small suggestion sir it will be really good if you also discuss the space and the time complexity at the end.

paragroy
Автор

Thanks for the clear explanation, for the input of integer - > 3

can you please tell me, why aren't we considering the possibility of the below tree as well?

2
/ \
null 3
/ \
1 null

Muthuvlog
Автор

The time complexity looks like T(N) = 2(T(1) + T(2) +T(3) + i correct?What is the asymptotic bound for it?

newdreamza-z
Автор

Solution video of today's problem? Please upload it, I am eagerly waiting for your approach. Could not solve it today.

codingalways
Автор

you skipped the most crucial edge case which is when start > end. Can you please explain that logic?

samiahmadkhan
Автор

what is the time complexity of the above approach...can you please tell

bongcoder
Автор

are yaar, aisa recursion ni lgta mere se ;(

raht
Автор

I didn't like this one. You do not explain the approach here. You traverse all the possible BSTs, which is not the solution.

glenfernandes
Автор

please show the solution approach in the solution section only-_-

piyush
join shbcf.ru