upday interview question

Task to build a backend service