Synechron Interview Question

Simple Array/List algorithm problem. Standard Java and Spring questions, some SQL questions.