Algorithm: Step 1)Take maximum bonus Step 2)See which all traders have skills[i] greater than equal to risk[i] and assign them this ith task For reamining traders Step 3) Find next maximum bonus and see which traders have skills[i]>=risk[i] and similarily continue
This is question for the global coding challenging of crdit suise.