Arrays A and B hold dice faces from 1 to 6. Return the minimum number of dice to change so that both arrays have the same sum, or -1 if it is impossible.
Unlock detailed company stats for this questionUpgrade
Community answers
No answers contributed by the community yet.
Related courses

Course

