Week of Code 21

Week long algorithm contest.

Starts in


Week of Code is a 7 day competition. From Monday through Friday, we’ll unlock one new challenge each day for you to solve. You’ll have the weekend (Saturday and Sunday) to complete any challenges you might have missed.

The objective for this contest is to maintain your leaderboard status by solving all challenges in 7 days. We’ll send you a quick reminder each day to keep you on track. The top 10 hackers on the leaderboard win exclusive HackerRank T-shirts.


T shirts for top 10 participants on leaderboard.


  • Please refrain from discussing strategy during the contest.
  • All submissions are run through a plagiarism detector. Any case of code plagiarism will disqualify both users from the contest.
  • You can also code using our interface, which currently supports over 40 major languages. Learn about our environment and time limits here. If you are not yet familiar with our platform, check out Solve Me First to acquaint yourself with I/O.
  • HackerRank admin decisions are final.


  • Each challenge has a pre-determined score.
  • Your score for a problem depends on the number of test cases your submission successfully passes.
  • A participant's total score is the sum of the scores earned for each problem attempted. If you submitted more than one solution for a problem, only your highest score achieved will be used in this calculation.
  • Participants are ranked by score, with the sum of time taken to solve each challenge is used to break ties.