Deel interview question

Some concurrency and optimization questions.