Google Interview Question
- 3of 3 votes
You have N toffee packets, each containing different number of toffees. The number of toffees contained in the ith packet is denoted by ci. You need to put these toffee packets in 5 boxes such that each box contains at least one toffee packet, and the maximum number of toffees in a box is minimum.- parni November 01, 2018 in United States
You can only choose consecutive toffee packets to put in a box.
| Report Duplicate | Flag | PURGE
Open Chat in New Window