Bright Data Interview Question

The home assignment consisted of 2 parts: to write a solution for a typical algorithm task and to optimize the code given. The live coding session included 3 tasks.