http://www.perlmonks.org?node_id=82642


in reply to Re^4: Golf: Grocery Bagging
in thread (Golf) Grocery Bagging

Has anyone ever pointed out to a grocery checker that the bagging problem was NP-complete?
Has anyone ever had a grocery bagger that optimally bagged their groceries? Fortunately, the greedy heuristic which baggers generally use is not NP-complete =)
   MeowChow                                   
               s aamecha.s a..a\u$&owag.print