Starts in


This is the Problem of the Week.


Currently, the only prizes are bragging rights and a release from boredom.


  • 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.

Highest scoring submission counts.


There will be around 10 test cases with 1 point given for each correct test case.

Scores will be posted on the discord server once programs are graded by the end of the week.

Sign up for POTW S1 now.

Not a genuine coding contest?