Infosys Interview Question

First round of interview was technical in Java and rest. Other 2 rounds were coding.