Servify interview question

Data Structure and algorithms based