http://qs321.pair.com?node_id=438232


in reply to Re^3: The greedy change-making problem using regexes
in thread The greedy change-making problem using regexes

Which is the correct answer for the greedy algorithm. But see my posting elsewhere in this thread for a more general solution.
  • Comment on Re^4: The greedy change-making problem using regexes