Your browser (Unknown 0) is no longer supported. Some parts of the website may not work correctly. Please update your browser.

Fast & Curious

Start date: July 3, 2021, 5 p.m. UTC
Given a number of cities located along a road, build a motorway between two cities to minimize the sum of distances from all cities to the easternmost one.

Ready, steady, go!

The first three fastest programmers to solve the challenge perfectly will be added to the Codility Hall of Fame, winning a package of swag and of course, bragging rights.

Curious to learn how you can improve your coding skills even further? The first-place winner will also get “The Clean Coder: A Code of Conduct for Professional Programmers” book to assist you with that.

Once the Fast & Curious Challenge has ended (on July 17th), you will still be able to take the challenge, and gain certificates, but will no longer be in the running for prizes.

Best of luck at your coding race!

About Codility

We help engineering leaders hire great software developers into their teams by evaluating technical skills in an unbiased way. We’re committed to levelling the playing field by building a platform that provides equal opportunity to all developers worldwide. Interested in joining us? We’re currently hiring engineers to work remotely from all over Europe.

The challenge is now over, but you may still practice on this task. Below, you can also find a video with explanation of possible solutions for the task:

View Careers


2194 started 197 silver awards 269 golden awards

Hall of fame:

Yury Pisarchyk
Time: 4 minutes
Md Abedin
Time: 7 minutes
Time: 7 minutes