Find the maximum number of perks you can obtain by recycling bottles.
Unlock detailed company stats for this questionUpgrade
You are given numBottles (initial bottles) and dollars (initial money). Each bottle can be recycled for recycleVal. A perk costs 1 bottle + perkVal dollars. Find the maximum number of perks you can obtain.
Format · Salesforce MTS round 1 DSA.
Community answers
No answers contributed by the community yet.


