Bayzat interview question

Asked to implement a backend service using Spring