At first lines sorry again for bad english
Can anybody help with list processing?
I've list with some repeating numbers, and I need to find it and change to unique numbers, for example [max number + 1]...
Repeatings can be came one time, or can be some more, or can have not...
For another one example this is list that I've:
1 2 2 3 4 5 6 6
And this is needeed result:
1 2 7 3 4 5 6 8
Hope anybody can advice me, may be through some [zl] sequense, may be through some js or java...
Many thanks for any tip!