Find the minimum number of items of given sizes that make an exact total, or return -1.
Unlock detailed company stats for this questionUpgrade
Given a set of item sizes, make an exact total using the minimum number of items, returning -1 if it is impossible.
Format · Asked inside the hiring manager round.
Community answers
No answers contributed by the community yet.


