Sollicitatievraag bij Toptal

How do you solve common coding test quickly and optimally.