Hello,
this algorithm you told is easy but if I were you I would prefer using
Combinations instead of working on random values,
Combinations can assure us we have all the possible answers correctly.
--------------------------------------------
Mehdi.:)
|