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

Bug Wars: The Last Hope

Start date: May 7, 2022, 5 p.m. UTC
Given the locations of cities and the amount of fuel at each of them, compute the maximum number of cities that can be visited.

You are the last hope for the galaxy, padawan!

Due to the critical bugs in defense software, the Alliance’s starships have been left extremely vulnerable to Empire’s attacks. Complete this challenge to help us fix the starships and bring peace to our galaxy.

The first 3 developers to solve the challenge perfectly in the least amount of time from the start of the challenge will be added to the Codility Hall of Fame and win a $25 Amazon gift card.

Once the Bug Wars challenge has ended (on May 21st), you will still be able to take the challenge and gain certificates, but you will no longer be in the running for prizes.

Good luck solving this challenge, and may the force be with you!

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.

View careers


2840 started 69 silver awards 117 golden awards

Hall of fame:

乐平 汪
Time: 7 minutes
Aryan C403
Time: 12 minutes
Kerim Kochekov
Time: 21 minutes