Code Kerfuffle 2019 Practice

Starts in


This is the practice competition for the 2019 Code Kerfuffle.

These questions are similar to the questions we will use for the real competition. These cover a wide range of algorithm and data structure topics. Most questions have a naive solution, but can be solved more efficiently. The more efficient solution will be neccessary to pass all the test cases.


  • Pick your most productive language, not the "fastest". (ie Python is usually a better choice than C)
  • All questions are worth the same amount of points, so solve the easiest questions first.
  • Run the sample test cases first by clicking 'Run Code'.


These questions were used in our 2018 Lucid Programming Competition, view the solutions here if you get stuck: LPC 2018


  • The creator of this contest is solely responsible for setting and communicating the eligibility requirements associated with prizes awarded to participants, as well as for procurement and distribution of all prizes. The contest creator holds HackerRank harmless from and against any and all claims, losses, damages, costs, awards, settlements, orders, or fines.
  • Code directly from our platform, which supports over 30 languages. Learn more here.


  • Each challenge has a pre-determined score.
  • A participant’s score depends on the number of test cases a participant’s code submission successfully passes.
  • If a participant submits more than one solution per challenge, then the participant’s score will reflect the highest score achieved.
  • Participants are ranked by score. If two or more participants achieve the same score, then the tie is broken by the total time taken to submit the last solution resulting in a higher score

Sign up for Code Kerfuffle 2019 Practice now.

Not a genuine coding contest?