My answers to the exercises in Algorithms & Data Structures with JS

Exercise 1

Brute force algorithm to find the longest common substring

Result:

Exercise 2

Knapsack problem

Max value:

Exercise 3

Coin Changing