re: Tackling Algorithms: Counting Unique Values VIEW POST

FULL DISCUSSION
 
 

If it's not pre-sorted you have to use a different approach - the multiple pointers approach won't work.

code of conduct - report abuse