LTM Limited Interview Question

Java ooops, pattern making, array and array list