Closed alessandro-bugatti closed 6 years ago
Good point! I think it's actually better to change the next x into n, because n is used in Chapter 7 and elsewhere. The variable x in the section "Greedy algorithm" has a bit different meaning: it is a value of a single coin.
At row 28 in chapter six, the coins sum is called n, where in the following rows is always called x, would it be better to change n into x?