Online assessment guide · updated December 2026

HackerRank test: what to expect and how to prepare

A HackerRank test is a timed online assessment set up by the company you applied to. It can mix coding problems with multiple choice, SQL and written questions. This guide explains what you will see and how it is scored, based on HackerRank's candidate support pages.

Read the video transcript

A HackerRank test is a timed assessment set up by the company you applied to. It can mix coding with multiple choice, SQL and written questions. Each coding problem has sample test cases that show the format, and hidden ones, marked with a lock, that check edge cases and performance. Your score on a coding question is the sum of the test cases you pass, so a partial solution can still earn partial credit.

Output is matched exactly. One extra space or blank line, and that case won't pass. Multiple choice questions are worth 5 points by default, and written answers are read by the company's own reviewers. If Proctor Mode is on, the test runs full screen. Leaving it or switching tabs is flagged, only one monitor should stay connected, and it takes periodic screenshots.

Before the real thing, take the sample test. You can attempt it multiple times, with a new email each time. Then sharpen the coding side on Codemia, with problems by topic and step by step walkthroughs.

Sample test

Practice run, repeatable

Hidden test cases

Locked edge cases

Proctor Mode

Webcam and screen checks

Code similarity

Plagiarism check

What a HackerRank test looks like

  • Several question types

    HackerRank lists question types including coding, multiple choice, SQL, subjective answers, whiteboard, diagram and code review. Your test can use any mix the company picked.

  • Coding with sample and hidden cases

    Each coding challenge has sample test cases that show the input and output format, and hidden test cases, marked with a lock, that check edge cases and performance.

  • Exact output matching

    HackerRank says scoring is based on exact string matching, so your output has to match the expected result exactly.

  • Language switch resets the editor

    Switching the programming language resets the code editor, so copy your code before you switch.

Timing and rules

Where you see the duration

  1. Invitation email

    Shows the duration

  2. Login page

    Shows it again

  3. The test

    Schedule and length set by your recruiter

Use a PC or laptop; phones and iPads are not supported.

HackerRank says your recruiter sets the test schedule and duration, and you can see the duration in the invitation email and on the test login page.

You need a PC or laptop; HackerRank says other devices such as phones and iPads are not supported. Proctored tests need a webcam.

If the company turns on Proctor Mode, the test runs in full-screen, and leaving full-screen or switching tabs is flagged. It also checks that only one monitor stays connected and takes periodic screenshots.

Proctor Mode: full-screen, tab switches flagged, one monitor connected and periodic screenshots.

What is scored

  • Coding: passed test cases

    HackerRank says the score for a coding question is the sum of scores of all the test cases you pass, so partial solutions can earn partial credit.

  • Multiple choice: 5 points by default

    Each multiple choice question is worth 5 points by default, and the company may turn on negative marking for wrong answers.

  • Written answers: a person reads them

    Subjective and diagram questions are typically reviewed manually by the company's evaluators.

  • Integrity signals

    Code similarity compares your code with other candidates' submissions, and the company sees an integrity summary along with your score.

Sample cases show the format; hidden cases, marked with a lock, check edge cases and performance.

Question types by topic

The company writes or picks the questions, so they vary. Coding sections usually cover standard data structures and algorithms. Each topic links to Codemia problems to practise.

  • SQL and databases

    Database questions ask you to write queries that retrieve and manage data. The result you return is compared with the correct answer.

See how the problem walkthroughs work

Every problem linked above opens on Codemia's DSA practice, with a step by step animated walkthrough and code in several languages. This one minute video shows how it works.

How to prepare

  1. Take the sample test

    HackerRank lets you attempt the sample test multiple times, with a new email for each attempt. Use it to learn the editor and how input and output work.

  2. Practise reading input exactly

    Since output must match exactly, practise problems where you parse input and print results with no extra spaces or lines.

  3. Think about hidden cases

    Before submitting, test empty inputs, single elements, large values and duplicates. Hidden cases often check exactly these, along with speed.

  4. Set up for proctoring

    Use one monitor, a working webcam and a quiet room, and close other tabs before you start.

Practise on Codemia

NVIDIA is one company that names HackerRank: its hiring page says technical candidates usually do a coding exercise using HackerRank, on a whiteboard, or on a laptop it provides. Codemia covers the coding side and the company context.

Watch how the AI coding round works (1 min).
  • Coding problems with walkthroughs

    Interview problems by topic, each with a step by step animated walkthrough and code in several languages.

  • Blind 75

    The classic 75 problem list, free, grouped by pattern. A good first pass before any timed test.

  • AI coding round

    A timed coding interview in a real repository, with an AI assistant and a score out of 100, so you can rehearse working and explaining under the clock.

  • NVIDIA interview process

    How NVIDIA runs its interviews, from phone screens to the onsite, with sources.

Sources

Facts about HackerRank on this page come from these pages, checked on December 2026. Employers choose many settings themselves, so your invitation email is the final word on your own test.

  1. HackerRank: question types
  2. HackerRank: evaluation methods of your tests
  3. HackerRank: answer coding questions
  4. HackerRank: test cases in your coding question
  5. HackerRank: questions before the test
  6. HackerRank: Proctor Mode
  7. NVIDIA: How We Hire

Questions people ask

Frequently asked

It depends on the company. HackerRank says the recruiter sets the schedule and duration, and you can see it in your invitation email and on the test login page.

Coding questions score the sum of the test cases you pass, multiple choice questions are worth 5 points each by default, and written answers are graded by the company's reviewers.

Yes. Each test has a sample test you can take multiple times, using a different email address for each attempt.

If the company enables Proctor Mode, leaving full-screen or switching tabs is flagged and logged, and the company sees those signals in an integrity summary.

HackerRank says the company that ran the test owns the report and decides whether to share results with you.

Other assessment platforms

Facing a different format? Read the CoderPad guide, CodeSignal guide, Karat guide, or the HireVue guide. For company loops, see Codemia's interview guides.

Get faster at timed coding

Practise problems by topic with walkthroughs, then rehearse a full timed round.

Browse coding problems