We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Thanks for the explanation.
My implementation followed from this naturally.
The greedy question I asked was :
"Which member of the group can make the next most expensive purchase most cheaply".
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Greedy Florist
You are viewing a single comment's thread. Return to all comments →
Thanks for the explanation. My implementation followed from this naturally. The greedy question I asked was : "Which member of the group can make the next most expensive purchase most cheaply".