logoalt Hacker News

trebligdivadtoday at 11:56 AM1 replyview on HN

The initial grouping of 'pack of organic bananas' with individual bananas feels like a wrong number in the pack problem; eg we typically want one a day so want to buy 7 in a weekly shop but the pack size is 5.


Replies

embedding-shapetoday at 12:17 PM

> eg we typically want one a day so want to buy 7 in a weekly shop but the pack size is 5.

Can't you just grab a bigger cluster/bunch and remove N bananas so it has the amount you want? Or remove 3 from the bunch that has five so two 5+2 clusters? Feels like I'm missing something obvious here.

show 1 reply