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

The Doge 2021

Start date: Feb. 27, 2021, 5 p.m. UTC
Each of N people has either a dog or a cat, and owns a toy for dog or for cat. Is it possible to exchange toys between acquaintances so that every animal gets an appropriate toy?

Brace yourself for The Doge Challenge. Let’s help $DOGE get closer to the Moon!

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 $50 worth of Dogecoins, a package of swag and of course, bragging rights. We’ll also be selecting 2 gold certificate winners randomly to win a $25 worth of Dogecoins.

Once the Doge Challenge has ended (in two weeks), you will still be able to take the challenge, and gain certificates, but will no longer be in the running for prizes.

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:

3297 started 203 silver awards 273 golden awards

Hall of fame:

1
乐平 汪
Time: 3 minutes
2
Neal Wu
Time: 4 minutes
3
Yury Pisarchyk
Time: 4 minutes