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

UPCOMING CHALLENGES:

CURRENT CHALLENGES:

Pi Code Challenge

PAST CHALLENGES

Year of the Rabbit

Carol of the Code

Game of Codes

National Coding Week 2022

Jurassic Code

Fury Road

Bug Wars: The Last Hope

Muad'Dib's

Year of the Tiger

Pair a Coder

Code Alone

Gamer's

Spooktober

National Coding Week

The Coder of Rivia

Fast & Curious

The Fellowship of the Code

May the 4th

The Great Code Off 2021

The Doge 2021

The Matrix 2021

The OLX Group challenge

Silver 2020

Palladium 2020

Rhodium 2019

Ruthenium 2019

Technetium 2019

Molybdenum 2019

Niobium 2019

Zirconium 2019

Yttrium 2019

Strontium 2019

Rubidium 2018

Arsenicum 2018

Krypton 2018

Bromum 2018

Future Mobility

Grand Challenge

Digital Gold

Selenium 2018

Germanium 2018

Gallium 2018

Zinc 2018

Cuprum 2018

Cutting Complexity

Nickel 2018

Cobaltum 2018

Ferrum 2018

Manganum 2017

Chromium 2017

Vanadium 2016

Titanium 2016

Scandium 2016

Calcium 2015

Kalium 2015

Argon 2015

Chlorum 2014

Sulphur 2014

Phosphorus 2014

Silicium 2014

Aluminium 2014

Magnesium 2014

Natrium 2014

Neon 2014

Fluorum 2014

Oxygenium 2014

Nitrogenium 2013

Carbo 2013

Boron 2013

Beryllium 2013

Lithium 2013

Helium 2013

Hydrogenium 2013

Omega 2013

Psi 2012

Chi 2012

Phi 2012

Upsilon 2012

Tau 2012

Sigma 2012

Rho 2012

Pi 2012

Omicron 2012

Xi 2012

Nu 2011

Mu 2011

Lambda 2011

Kappa 2011

Iota 2011

Theta 2011

Eta 2011

Zeta 2011

Epsilon 2011

Delta 2011

Gamma 2011

Beta 2010

Alpha 2010

Given a set of points on a plane, find the largest number of points that can be enclosed within a circle centered on the origin, such that the number of red points and green points inside it is equal.

** Welcome to Jurassic Code! **

During excavation, you found an ancient code snippet written down on a stone. Judging by the number of bugs, it dates back to the Paleolithic Period, at least. You’ll need to rewrite the code in order for it to work on modern devices, as we believe it might help with the dinosaur revival program.

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.

*Once the Jurassic Code challenge has ended (on July 30th), 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 an explanation of possible solutions for the task:

4262 started
199 silver awards
455 golden awards

Time: 5 minutes

Time: 5 minutes

Time: 7 minutes