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

May the 4th Challenge

Start date: May 4, 2021, 5 p.m. UTC
Find the maximum number of disks that can be placed on two rods. The disks should be in decreasing order of size on the first rod and in increasing order of size on the second rod.

Are you ready for the next challenge, padawan?

Pursuant to the Council’s order, the first 3 jedis to solve the challenge perfectly in the least amount of time will be added to the Codility Hall of Fame, winning a package of swag and of course, bragging rights. Winner #1 would also get the Game Programming Patterns book by Robert Nystrom. We hope it’ll help you in your path to becoming the next Star Wars game creator.

Once May the 4th Challenge has ended (on May 18th), you will still be able to take the challenge, and gain certificates, but will no longer be in the running for prizes.

Through diligence, I gain knowledge.
Through knowledge, I gain power.
Through power, I win Codility challenges.
May the 4th 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 in Poland, Germany and the UK.

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


View Careers

Stats:

2765 started 47 silver awards 558 golden awards

Hall of fame:

1
Yury Pisarchyk
Time: 3 minutes
2
nuip qiun
Time: 4 minutes
3
乐平 汪
Time: 4 minutes