IMC Trading interview question

Java basic knowledge & DSA