Comment
Comment by Genmutant
The python code also prints the resulting list in the same order. It's a completely different problem to solve.
In python I would throw the list in a set and return the size of it / print that.
Be the first to share your thoughts.