LeetCode Tutorial 40. Combination Sum II

preview_player
Показать описание
GoodTecher LeetCode Tutorial 40. Combination Sum II (Java)

LeetCode Tutorial by GoodTecher. The tutorial provides a step-by-step demonstration on how to solve coding problems.

Complete Playlist for the GoodTecher LeetCode Tutorial:

GoodTecher Website:

GoodTecher Channel on YouTube:

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

It's written in 2017, It's still one of the best explanations for this problem. Thanks a lot

treksis
Автор

This is exactly what I was searching for my entire a gem ....Every one just implement all recurssion calls before backtracking...but u did it right...

NatureLover-oquc
Автор

was looking for this kind of solution for a long time. thanks, it solves two problems I got on the interview, 1 at Amazon, 1 at Apple.

nikolaykolesnik
Автор

This is what exactly I was looking for. Explained in best possible way!

kun
Автор

What's the time complexity? Do you think it's the same as leetcode 39?

andyhujian
Автор

I have a question. In the recursive step, if I change i + 1 to either i++ or ++i, it doesn't work... Why would this happen?

junxuchen
Автор

Thanks ! Can you do longest common supersequence ?

kipa_chu
Автор

Hey great videos!
Why did you add the condition i!=start in if(i!=start && candidates[i]==candidates[i+1]), can you explain in detail please.
Also, can you please explain why do you need to deep copy with an example? or can you point out to some tutorials regarding.

suhasnayak
Автор

Awesome! how you explain recursion using a tree!

rohitrai
visit shbcf.ru