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

Gamer's

Start date: Nov. 20, 2021, 5 p.m. UTC
Given a string consisting of characters 'a', 'b' and/or '?', replace each '?' with 'a' or 'b' so that the longest fragment of the resulting string consisting of equal letters is as short as possible.

Codility Developer Training - Challenge Everything!

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 $20 Steam Gift Card. Whether you fancy more skins and items for your hero in your favorite game or want to play something new - we’ve got you covered.

Once the Gamer’s Challenge has ended (on December 4th), 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!!

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:

1957 started 89 silver awards 112 golden awards

Hall of fame:

1
Kevin Sun
Time: 8 minutes
2
Albert Gutowski
Time: 13 minutes
3
nuip qiun
Time: 15 minutes