Hello Joel,
As mentioned in the previous comment, it gives me distinct values.
Now as input you have given 2386.
The output will be 618,350,308,300,250,232,200,128
However the output can also be 618,618,618,300,232.
That's my point. I am facing the same problem with the code i am using. I am also getting distinct values.
I do not need unique values in the output, the output can can contain as many number of same values.
How to avoid that ?
No comments:
Post a Comment