Candidate array= {10, 1, 2, 7, 6, 1, 5};
Target Number = 15
Can distribute random target number=15
into candidate array?
Possible output of could be:
Assign equal or less with zero target number against candidate array like is:
$output =array([10] => [2],[1]=>[0], [2]=>[2], [7]=>[5], [6]=>[3], [1]=>[1], [5]=>[2]);