Coin Change - LeetCode 322 - JavaScript

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


Step by step walk through of the solution to the popular Microsoft coding interview question, Coin Change.

LeetCode 322

JavaScript

0:00 Intro
0:59 Explanation
10:35 Code

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

This guy is so amazing, pure explanation no BS. short videos. Amazing work buddy!!!

architverma
Автор

This is the only explanation that has actually made sense to me for this problem, thank you

gerryramosftw
Автор

At 7:07, when we chose the coin 1, the remaining coins needed is dp[6] that is 2. So it should have been 1 + 2 = 3 when the first coin is selected.

ajaysrinivas
Автор

I'm new to dynamic programming. I lost track around 3:40. I'll continue watching the vid, and hopefully in the future it's better able to solve DP programs.

fabricator.cap.hill.seattle
Автор

can anyone explain arr index arr[5] why we put 1 not iterate to check all 1, 2, 5?

techycode
Автор

I would not be able to come up with this solution in an interview

joemart