Added a smart C/C++ question

What is the fastest way to find duplicates in an 10 millions array filled with random integers in range of -5 millions and 5 millions?