همه کارتها
Greedy Coin Change and Non-Canonical Coin Systems
The greedy "take the largest coin that fits" rule for making change is not always optimal — it works only for canonical denomination systems. On a non-canonical set like , greedy can use more coins than the true minimum.
کارت نکته کنکور ارشد علوم کامپیوتر