Competitive programming challenges and contests across computer science

HackerRank is built for programmers, by programmers, to be engaging and fun no matter your background or skill level. Challenge yourself, compete with your peers, and gain credibility.

We also provide companies with customizable programming challenges and real-time code evaluation at HackerRankX.

Assessing your code has never been this easy

Learn why programmers at HackerRank have made more than 1 million code submissions since 2012.


Submissions since June 2012

Code directly in the browser

Our code editor is jam-packed with features that make it easy for you to test your code and submit with confidence. In addition to version control and multiple languages and editor modes, we make it easy for you to test your code with an in-browser compiler. Use our testcases or your own, and compile as many times as you need to submit with confidence.

Climb the leaderboard

Track your progress with our dynamic leaderboards. In addition to your global rank (calculated by your performance in active contests), each challenge has an individual ranking so you can see how you stack up against the best performers.

Find a help line

Got stuck? No problem! There are plenty of tools to help you find your way again. Message a friend, read the official challenge editorial, ask a question on the discussion boards, or buy a testcase.

Choose your favorite type of challenges

Our expanding set of challenges spans the full array of computer science disciplines. Whether you choose to solve them in order or by track, you’ll find hours of fun and thrilling excitement.

Sign up and Start Coding View all challenges

Coding is simple with our built-in code editor

Code inside the browser in your chosen language, optimize your algorithms, and learn as you go.

  • Multiple Editor Modes

    Our in-browser code editor supports two modes of editor (in addition to normal): Emacs and VIM. Choose the one the works best for you. Don't worry, we won't judge.

  • Custom Stubs

    We pre-fill the code editor with stubs for each language, so you can focus your time on coding the perfect solution. Use our defaults or code your own. "Customizable" is the key here.

  • Upload Your Code

    Don't want to write your solution in the browser? No problem! You can easily code in your own environment and upload your solution for us to compile.

  • Choose your Language

    We currently support 22 programming languages and growing. Select your favorite or go for variety. We track your submissions by language so you can easily revise your solutions.

  • Full-screen Mode

    So you're rocking that brand new, 27" monitor and you want a code-environment to match? We've got that covered. Switch easily into full-screen and back again to match your needs.

  • Compile and Test

    Easily compile your code and test it against our testcases or testbot so you don't have to submit your code blindly. You can choose to use your own testcase, too. Troubleshooting in the browser....yup, that's pretty cool.

HackerRank Codeeditor

HackerRank for Companies

If you love coding on HackerRank for fun, you'll find HackerRankX, our enterprise product, perfect for screening your applicants. Identify & engage the best programmers using custom coding challenges & contests.

Learn More About HackerRankX