There is a file with 6 million registration (format AAA999). The contest is to write a program that determines whether there are any duplicate registration or not. The program need not say which or how many. The program will be a console application (executable file) or similar which takes a file argument. The program will print: "Not Duplicate" and "Duplicate".
The test cases can be found (https://www.dropbox.com/sh/77kn4y52lvrhy82/AAAJq_WJa1g8XbGavdkTofGJa?dl=0)
- PC: MAC Book Air (Early 2015)
- Processor: 1.6 GHz Intel Core i5
- Memory: 4 GB 1600 MHz DDR3
- java -Xms3072m -Xmx3072m [FileName]
- Output: Duplicates
- Elapsed time = 347ms
- 0.347 microseconds per execution
- Output: Duplicates
- Elapsed time = 2841ms
- 2.841 microseconds per execution
- Output: No Duplicates
- Elapsed time = 2869ms
- 2.869 microseconds per execution