Accenture Interview Question

Algorithm, system design, coding in Java