Brilliant teacher!!! The colors, the breakdown, explaining, examples... so good! Thank you so much for sharing! I'm so happy I can understand this topic now! :)
Explained very well. Thank you Avery! For the total sum question though, wouldn't it be more efficient if we used another variable 'index' to keep track of which number we are using instead of removing/adding to the list/vector?
Hey Avery! You mentioned that there are 9 problems you did concerning this topic which sets you up for any backtracking questions. I was wondering what those might be! Although I am starting to see some sort of patterns problem to problem, I feel like I am one small step away from fully understanding what I am doing.
@ minute 50:58 why do we need to add back the val to choices when we have found an answer? I believe the question isn't asking to find all solutions but rather if there's a solution. Is there a point to adding val back to choices when you would be ending the recursion here? @Avery Wang
Brilliant teacher!!! The colors, the breakdown, explaining, examples... so good! Thank you so much for sharing! I'm so happy I can understand this topic now! :)
This video really deserves more views. After this video I have mastered backtracking essentially
Lecture starts at 3:40
this is so good! thank you.
this dude is making me want to go to stanford
Explained very well. Thank you Avery!
For the total sum question though, wouldn't it be more efficient if we used another variable 'index' to keep track of which number we are using instead of removing/adding to the list/vector?
Hey Avery! You mentioned that there are 9 problems you did concerning this topic which sets you up for any backtracking questions. I was wondering what those might be! Although I am starting to see some sort of patterns problem to problem, I feel like I am one small step away from fully understanding what I am doing.
Hey Tsering, were you able to get the 9 problems?
@ minute 50:58 why do we need to add back the val to choices when we have found an answer? I believe the question isn't asking to find all solutions but rather if there's a solution. Is there a point to adding val back to choices when you would be ending the recursion here? @Avery Wang