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

Year of the Tiger

Start date: Feb. 26, 2022, 5 p.m. UTC
Find the maximum number of towers with same color order that can be obtained from an initial group of tricolored towers if at most one swap of adjacent colors can be performed in every tower.

Happy Lunar New Year! 新年快樂! Gong Hei Fat Choy! Chúc Mừng Năm Mới!

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, which you can spend on a gift for your loved ones to welcome the Year of the Tiger.

Once the Year of the Tiger challenge has ended (on March 12th), 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!

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

Stats:

2229 started 108 silver awards 306 golden awards

Hall of fame:

1
Yury Pisarchyk
Time: 4 minutes
2
Aryan C403
Time: 5 minutes
3
Roman Hultaichuk
Time: 5 minutes