you give array n integer num 50 unique value array you give array m customer order quantitie quantity quantityi integer ith customer order Determine possible distribute num thatthe ith customer get exactly quantityi integersthe integer ith customer get equal andevery customer satisfiedreturn true possible distribute num accord condition Example 1input num 1234 quantity 2output falseexplanation the 0th customer give different integersExample 2input num 1233 quantity 2output trueexplanation the 0th customer give 33 the integer 12 usedexample 3input num 1122 quantity 22output trueexplanation the 0th customer give 11 1st customer give 22 Constraintsn numslength1 n 1051 numsi 1000 m quantitylength1 m 101 quantityi 105there 50 unique value num