Persistent Systems Interview Question

Code about duplicate numbers in array. Abstract class implementation