It is same as combination sum with repetitions allowed. The only catch is the numbers are float. So, we need to convert them to int by multiplying by 100 else the terminationg condtion(target ==0) will never be achieved because the value is close to o and never exactly 0 if we use double/float.