Pergunta de entrevista da empresa Wrike

Technical task is to write a couple of methods to implement some functionality in existing data model. You have 30 minutes to write the code, and afterwards there is code review, where you must explain your decisions and propose improvements if the task is expanded