Skip to content

Commit 8e0fab0

Browse files
committed
chore: updated
1 parent 0e621d8 commit 8e0fab0

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

‎README.md

+10-1
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@
112112
- [Binary Search Basic Problems](#binary-search-basic-problems)
113113
- [Binary Search Advanced Questions](#binary-search-advanced-questions)
114114
- [Greedy Algorithm](#greedy-algorithm)
115+
- [Min Coins Problem](#min-coins-problem)
115116
- [References](#references)
116117

117118
> Coding interview question answers in JavaScript for Facebook, Amazon, Google, Microsoft or any company.
@@ -1232,6 +1233,8 @@ Below problems are lying under optimization problems. Just watch `Book Allocatio
12321233
It is useful for optimization problem.
12331234
Below is the template.
12341235

1236+
- Watch [these videos](https://www.youtube.com/watch?v=HzeK7g8cD0Y&list=PLqM7alHXFySESatj68JKWHRVhoJ1BxtLW&t=0s) to learn greedy algorithm
1237+
12351238
```js
12361239
getOptimal(items, n)
12371240
1- Initialize result as 0
@@ -1243,7 +1246,13 @@ getOptimal(items, n)
12431246
3- return result;
12441247
```
12451248

1246-
- Watch [these videos](https://www.youtube.com/watch?v=HzeK7g8cD0Y&list=PLqM7alHXFySESatj68JKWHRVhoJ1BxtLW&t=0s) to learn greedy algorithm
1249+
### Min Coins Problem
1250+
1251+
<p class="codepen" data-height="300" data-theme-id="dark" data-default-tab="js,result" data-slug-hash="XWRmVLj" data-user="rupeshtiwari" style="height: 300px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; border: 2px solid; margin: 1em 0; padding: 1em;">
1252+
<span>See the Pen <a href="https://codepen.io/rupeshtiwari/pen/XWRmVLj">
1253+
Min Coins</a> by Rupesh Tiwari (<a href="https://codepen.io/rupeshtiwari">@rupeshtiwari</a>)
1254+
on <a href="https://codepen.io">CodePen</a>.</span>
1255+
</p>
12471256

12481257
## References
12491258

0 commit comments

Comments
 (0)