Backtracking tutorial: power set

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

Slides:

Data structures repository:

My website:
Рекомендации по теме
Комментарии
Автор

THANK YOUUU!!
The best vid I found on this topic because:
1.You first explained the Algorithm
2.Then you went through the code
3.And then how it's actually executed by the compiler

yasmin
Автор

Hi! I just wanted you to know that you are an inspiration to me. I learn so much from watching your videos. I have been trying to make videos about data structures myself and I watch multiple videos on the subject and I think there is no video that is as effective as yours at the moment. I want to say great job, but most of all, thank you sir making these videos!

javapuppy
Автор

Came here after solve function of TSP pseudocode(Graph Theory)
Thanks for short and easy explanation.

shivambhanu
Автор

Thank you. I have been struggling with this question but after watching the video all the dots got connected. :)

ogetysaivamsi
Автор

Thank you, this video is the clearest I found so far on the topic.

mariusandries
Автор

Jesus, man; This man coming in with the enlightenment as usual.

RushOrbit
Автор

This is a cool and interesting technique William! I usually use the characters itself (instead of generating bit strings), I can see how this can be really efficient!

karthikrangaraju
Автор

Thanks for the video. I think the illustration at 7:09 will be more accurate if you show the levels in a Depth-First way as your solution for generateBitStrings is a depth-first solution

shreyaspadhye
Автор

I really liked it, you explain really well.
Thanks a lot.

hjthecuber
Автор

Thank you for the great lesson! Why deepcopy() 6:30?

petrotkach
Автор

This is also an iteration approach. and the complexity is O(n * 2^n) not O(2^n) I guess.

HelloWorld-tntl
Автор

Why do we have to backtrack at all? If we do something like `for bitstring in range(2**n):`, then we can get all 2^n possible bitstrings and use bit manipulation to retrieve which bits are 1 and which are 0. I don't see why backtracking would help in any way.. Any thoughts?

simon.p
Автор

Hi where can I find the slide for this tutorial. It seems that this slide is not included in your GitHub

teelee
Автор

I am trying to learn algorithms and data structures.
What can you recommend me sir ?

dieuveillemabounda
Автор

Video was pretty good, but try using C/C++ it is much easier to grasp information through it

sahilmalik