Apolis interview question

For example, find the duplicated number in an array. Also, answering the difference between static and final. overloading and overriding.