Capgemini Interview Question

Basic Java , Microservices question. 1 round of coding test with 2 scenario based coding questions of sorting and sum of paired numbers