Interviewer asked me to Design REST API and all the components implemented during API development - like Service layer, Repository Layer. Program on Stream API - Group employee by department
Anoniem
I created Controller, Service layer, Repository Layer and explained each components involved along with Annotations. Implemented the stream on employee list and grouped them by Department.