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

The Great Code Off 2021

Start date: March 27, 2021, 5 p.m. UTC
Count the number of cakes consisting of K different layers in the order 1, 2, ..., K that will be created after a sequence of operations of putting a layer on some interval.

Do you have what it bakes to win The Great Code Off?

The first 3 developers 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 Python Cookbook to further prove their skills.

Once the Great Code Off has ended (on April 10th), you will still be able to take the challenge, and gain certificates, but will no longer be in the running for prizes.

This Challenge is not a piece of cake, so good luck solving it!

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.

Good luck solving this Challenge!

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:

Stats:

4326 started 1124 silver awards 56 golden awards

Hall of fame:

1
乐平 汪
Time: 15 minutes
2
Neal Wu
Time: 19 minutes
3
Kevin Sun
Time: 20 minutes