The HackerEarth assessment: how it is scored and what the recruiter sees

· · 10 min read

A HackerEarth assessment is a timed online test that an employer builds from HackerEarth's question library, usually a mix of multiple-choice and programming questions. The part most candidates misread is the scoring. Your code is graded on hidden test cases, each worth a share of the marks, and the sample cases you can see are worth nothing. HackerEarth's own example: a problem with 10 hidden test cases worth 10 points each, and a solution that passes 3 of them, scores 30 out of 100. This guide covers how each question type is scored, what the recruiter sees in your report, who sets the cut-off, and which proctoring options the employer can switch on.

On this page

HackerEarth assessment: quick answers

How is a HackerEarth coding question scored?

By the hidden test cases your best submission passes. Your score is the sum of the scores of the cases you pass; sample test cases carry no score.

Can I submit my code more than once?

Yes. HackerEarth says you can submit different solutions to the same problem several times and it evaluates your best one.

Is there negative marking on HackerEarth?

Only if the employer sets it. HackerEarth's test environment guide says negative scoring is not a default part of a question; each question shows its maximum and negative marks.

What is the passing score?

There is no HackerEarth-wide pass mark. The employer can set a cut-off score for each test and automate what happens above and below it.

Is a HackerEarth test proctored?

It can be. Webcam snapshots, tab-switch limits, disabled copy-paste, ID checks, audio proctoring and a locked-down Smart Browser are all options the employer chooses per test.

HackerEarth question types

HackerEarth's list of question types is long because one test can mix several. The ones you are most likely to meet in a developer assessment:

  • Multiple choice (MCQ): one or more correct options, marked automatically against an answer key.
  • Programming: algorithm problems in a language of your choice, scored on test cases.
  • Front end: HTML, CSS and JavaScript tasks.
  • SQL: queries against a database.
  • Project questions such as Java projects, where you work in a codebase rather than a single function.
  • Subjective: short written answers, definitions or scenario questions.
  • Others: golf (scored on the code as well as the output), approximate (optimisation problems with no single right answer), file upload, machine learning and diagram questions.

The test environment shows the total number of questions, the total score, the number of questions of each type, and the marks for a correct and an incorrect answer before you start, so read that screen first.

How HackerEarth scores programming questions

HackerEarth's article on evaluating programming questions explains the model. Every problem has sample test cases, which "contain no scores because they are not considered while evaluating the code", and hidden test cases, usually between 10 and 20 depending on the problem.

  • The worked example: 10 hidden cases, total 100 points, 10 points each. Five have small constraints, so a brute force passes them; the other five have large constraints, where brute force hits the time limit. Pass 3 of 10 and you score 30/100.
  • Weights can differ: the employer can customise the score of each test case, so they are not always equal.
  • What each case checks: per HackerEarth's test case guide, the run time (otherwise Time Limit Exceeded), memory (Memory Limit Exceeded), runtime errors, and whether the output is correct (otherwise Wrong Answer).
  • Output format matters: the online judge compares your output with the expected output, so print exactly the required format and nothing extra. Programs read from STDIN and write to STDOUT.

The practical point is the same one the example makes: a correct brute force that clears the small cases is worth real marks, and the large cases are where the remaining points are. Read the constraints before you choose an approach.

Compile & Test vs Submit, and which submission counts

Every programming problem has two actions, according to HackerEarth's help centre:

  • Compile and run checks your code against the sample input and output only. It is a sanity check, not a score.
  • Submit runs the hidden internal test cases.

Three rules from HackerEarth's candidate FAQs are worth knowing before the test:

  • Several submissions are allowed and "we will evaluate your best solution".
  • Code is saved automatically as you work. If your test ends abruptly, "your best-performing submission from your previously saved submissions will be considered".
  • Ending the test is final. After you click End test, you cannot change anything. A popup warns you when the duration is almost over.

You can also add your own inputs in the custom input section to test edge cases the samples do not cover.

MCQ scoring: negative marks and partial credit

Negative marking is set per question by the employer; HackerEarth notes it is not a default. If a question shows negative marks, a blind guess has a cost.

For MCQs with several correct answers, the employer can enable partial scoring. HackerEarth's example uses a question worth 4 points with a negative score of 2 and two correct options out of four:

  • One correct option selected: 2 points.
  • One incorrect option: −1.
  • Both correct options: 4.
  • One correct and one incorrect: 1.
  • More options selected than there are correct answers (here, three): the full negative score, −2.

So with partial scoring on, selecting everything is the worst strategy. Pick only the options you are confident about.

What the recruiter sees in your HackerEarth report

HackerEarth's description of the candidate assessment report lists what the employer gets after you finish:

  • Summary: your rank, total score and the number of questions you attempted.
  • Time analysis: when you were invited, when you started and finished, and the total time taken.
  • Skill-wise performance: your percentage per skill compared with the average of all candidates on that test.
  • Detailed submission report for your best solution: score, run time, time complexity, space complexity, memory, language, submission time and the number of attempts.
  • Code quality: a score built from maintainability, reliability, security and cyclomatic complexity, generated with SonarQube, with major and minor violations listed (per the code quality article).
  • Key observations: the integrity index, the number of tab switches, plagiarism, ID verification and whether the snapshots met the proctoring guidelines.

In other words, readable code and a sensible complexity are visible to the recruiter even when the test cases are all green.

Who sets the cut-off score?

The employer. HackerEarth's cut-off settings let a recruiter set a cut-off for a test and attach automatic next steps through a rule engine: invite you to another test, shortlist you, reset the test, archive your profile, or do nothing. Those actions are processed 15 minutes after the test ends, and a different action can be set for scores below the cut-off.

So if an invitation to a second test or a status change arrives shortly after you finish, it was probably triggered automatically by your score, not by a person reading your code. HackerEarth does not publish typical cut-offs, and any single number you read online for a particular company is a guess.

Is HackerEarth proctored? The options an employer can switch on

HackerEarth's proctoring settings are per test, so two invitations can behave very differently. The documented options:

  • Log out on leaving the test environment: each switch of tab or window, or opening another application, gives a warning. The default limit is 5, which the employer can change. HackerEarth notes that leaving to close a system notification, such as an antivirus popup, also counts.
  • Disabled copy and paste in the code editor. Problem statements cannot be copied by default.
  • Webcam snapshots at random intervals, with a thumbnail of your webcam shown on screen. If you do not grant camera access, you cannot take the test. HackerEarth's snapshot article says you first click five screen positions to capture reference images, and snapshots are sorted into Multiple candidates, Candidate missing and Needs review (a face that does not match the reference).
  • ID verification: a government ID (the article names Aadhaar or PAN) plus a photo taken before the test.
  • Full-screen mode, with a warning when you exit.
  • IP restrictions, mostly used for tests taken in an office or a college lab.
  • Random question order and a surprise question: a written question, generated from the questions you attempted, shown after everything else, to check you understand your own approach.
  • Audio proctoring: not on by default. HackerEarth says it records and analyses audio during the test to detect conversations, unauthorised devices and background noise, and flags segments for review.

The Smart Browser

If the employer enables it, you must take the test in HackerEarth's Smart Browser, a desktop application. Before the test it checks for virtual machines, extra displays and restricted open applications, which it can close for you. During the test it prevents screen sharing or recording of the test window, screenshots, switching to other applications, resizing the window, multiple monitors and developer tools, and disables shortcuts such as Alt+Tab and Ctrl+C/Ctrl+V. If you move away from the test screen and do not come back within 10 seconds of the warning, you are removed from the test. The candidate guide lists the requirements: Windows 10 or 11, Ubuntu 20.04 to 24.04 or macOS 13.5 or later, a working camera, microphone and speakers, one monitor, and no virtual cameras.

For a side-by-side view with Mercer Mettl, see Mettl, HackerEarth and AMCAT: what they record.

Plagiarism checks and the integrity index

HackerEarth runs two kinds of plagiarism detection when the employer enables them:

  • Within the test: each candidate's best submission is compared line by line with everyone else's. A match above 85% flags both candidates. In the report, yellow highlights mark "a slight match", which HackerEarth says is common when variable names are changed but the logic is not.
  • From the internet: an AI-based check compares submissions with public sources such as GeeksforGeeks and StackOverflow, looks at structure and logic rather than syntax, and reports a Medium or High likelihood with an explanation. HackerEarth says it takes into account that standard problems such as binary search have widely used solutions.

All proctoring signals are summarised in an integrity index: Acceptable, Marginally Acceptable or Unacceptable, calculated from the number and severity of violations such as tab switches, snapshot violations, plagiarism and, for events after 11 August 2026, audio signals. The recruiter can open the detailed event list behind it. HackerEarth describes "Marginally Acceptable" as needing review rather than automatic disqualification.

Is AI allowed in a HackerEarth assessment?

Only if the employer allows it, and then usually in a specific form. HackerEarth offers a Contextual AI Coding Assistant for project questions in its VS Code IDE. The employer turns it on, and it is designed to give hints and contextual help "without giving away the answer", with up to 100,000 tokens per session. HackerEarth treats it as separate from allowing outside tools like ChatGPT.

HackerEarth also sells "AI-resilient" debugging projects: full-stack codebases of 3,000+ lines in React, Node.js and MongoDB where you fix problems in unfamiliar code. If your test contains one, expect to spend most of the time reading code, not writing it.

Where AI is not allowed, the signals above (tab-switch counts, disabled paste, the surprise question, plagiarism and audio checks) are what the employer has to go on, and the integrity index puts them in one place.

How to prepare for a HackerEarth test

  • Read the first screen. Question count, total score, marks per question and any negative marks are listed there.
  • Practise STDIN/STDOUT. HackerEarth problems read input and print output; a correct algorithm with the wrong output format is a Wrong Answer.
  • Bank a brute force, then optimise. Small-constraint cases are worth points, and your best submission counts.
  • Test your own edge cases with custom input: empty input, one element, maximum values.
  • Turn off notifications before you start. Closing an antivirus or chat popup can count as leaving the test.
  • If a Smart Browser is required, install and launch it a day early on the machine you will use, disconnect extra monitors, and disable virtual cameras.
  • Light your face if snapshots are on; HackerEarth warns about low brightness, though the warning does not block you.
  • Write your own code. The plagiarism checks compare logic, not just variable names.

If your employer uses HackerRank or Codility instead, our guide to HackerRank and Codility tests in India covers those formats.

Where Interview Copilot fits

Interview Copilot is a desktop app that listens to a live interview and suggests answers on your screen, and it can work through a coding problem from a screenshot. It is not something to run inside a HackerEarth test that forbids outside help: the Smart Browser is built to close other applications, and the employer's rules apply whatever any tool can or cannot see.

Use it to practise, and in the live rounds that follow a good test result, such as a FaceCode interview or a technical call, when the employer permits it. If you are unsure, ask the recruiter in writing before the day.

Sources

Every factual claim above was checked against HackerEarth's help centre on 19 November 2026. Settings are chosen per test by the employer and HackerEarth changes features over time, so read your invitation and the test's first screen.

FAQ

How is a HackerEarth assessment scored?

Programming questions are scored on hidden test cases: your score is the sum of the scores of the cases your best submission passes, and sample cases carry no score. MCQs are marked against an answer key, with negative or partial marks only if the employer set them.

Do sample test cases count on HackerEarth?

No. HackerEarth says sample test cases contain no scores. Compile and run only checks them; Submit runs the hidden test cases, usually between 10 and 20 per problem.

Can I submit multiple times on HackerEarth?

Yes. You can submit different solutions to the same problem and HackerEarth evaluates your best one. Code is also saved automatically, and if the test ends abruptly your best saved submission counts.

Does HackerEarth have negative marking?

Only when the employer sets it. HackerEarth says negative scoring is not a default part of a question; each question shows its maximum and negative marks in the test.

What is the HackerEarth cut-off score?

There is no platform-wide cut-off. Each employer can set one per test and attach automatic actions, such as inviting you to the next test or shortlisting you, which run 15 minutes after the test ends.

Does HackerEarth detect tab switching?

It can. With the log-out setting on, every switch of tab, window or application gives a warning, and after the limit (5 by default) you are logged out. Closing a system notification also counts. Tab switches are shown in your report.

Does HackerEarth record your webcam or audio?

Only if the employer enables it. Webcam snapshots are taken at random intervals and compared with reference images; audio proctoring, which is off by default, records and analyses audio and flags segments for review.

What is the HackerEarth Smart Browser?

A desktop application some tests require. It blocks screenshots, screen sharing, other applications, multiple monitors, virtual machines and developer tools, and removes you from the test if you do not return within 10 seconds of a warning.

What is the HackerEarth integrity index?

A summary of proctoring violations, such as tab switches, snapshot issues, plagiarism and audio signals, shown to the recruiter as Acceptable, Marginally Acceptable or Unacceptable, with the detailed events behind it.

Related articles

More guides

How the app helps here

Related articles

Read next

Interview Copilot is a desktop app

It's a desktop app for macOS, Windows and Linux — a phone cannot capture the interviewer's audio or hide a window from screen share. Open this page on your computer to install it.

And during the interview this phone can be your screen: scan the QR code in the laptop app and the answers appear right here. How phone mode works →