Manhattan Associates Interview Question

Java qsns