HackerEarth Assessment: What to Expect and How It Works
A step-by-step guide to HackerEarth hiring tests: the invite email, question types, how code is judged, and the proctoring settings employers can switch on.
Last updated: 23 October 2026 · By the Asuraa Team
Quick answer: A HackerEarth assessment is an employer-built online test, usually MCQs plus coding problems, that you open from an invite link within a set time window and cannot pause once started. Code is scored on hidden test cases when you submit. HackerEarth's help centre says employers can enable webcam snapshots, disable copy-paste and log you out after repeated tab switches, with a default limit of 5 warnings (as of October 2026).
Key takeaways
- HackerEarth's help centre says you can open a test link any time between its start and end time, and recommends attempting within 2 days of receiving it.
- Once you click Start Test on HackerEarth you cannot pause, and the test ends only when you click End Test and confirm.
- Coding answers are run on visible sample cases at Compile & Test and on hidden internal cases at Submit, and the hidden cases decide the score.
- Employers can switch on webcam snapshots, disabled copy-paste, full-screen mode and auto-logout after leaving the test, with a default of 5 warnings.
- HackerEarth's Smart Browser needs Windows 10/11, Ubuntu or macOS 13.5+, 2 GB RAM, a single monitor and at least 512 kbps, and blocks virtual cameras and VMs.
A HackerEarth assessment is a timed online test that an employer builds on HackerEarth's recruiting platform and sends to you as a link. It usually mixes multiple-choice questions with coding problems, and the employer decides which proctoring controls are switched on. Knowing those controls in advance is most of the battle, because most candidates lose marks to the environment, not the questions.
This guide walks through the full flow as HackerEarth's own candidate help centre describes it, as of October 2026. For how HackerEarth compares with Mettl, SHL and other platforms Indian employers use, see our online assessments guide for India.
What happens from the invite email to submission?
You get an email, open the link inside a time window, agree to the terms, read the instructions and start a timer that cannot be paused. According to HackerEarth's invite emails article, the email lists the test name, the start and end time, the test link and a set of instructions you are asked to complete before starting. You can open the link at any point between the start and end time; some tests never expire, but HackerEarth recommends attempting within 2 days of receiving the link.
Here is the full sequence, stitched together from the candidate articles:
- Read the invite email fully. Note the end time and any instruction about webcam, Smart Browser or ID verification.
- Take the practice test. HackerEarth's practice test article describes an optional sample test that shows the buttons, question layouts and how programming answers are compiled and judged.
- Prepare your machine. Close messaging apps, switch off system updates and check your browser (details below).
- Open the link and agree to the terms. Per Starting your test, you tick the terms-of-use and privacy checkbox and click Enter Test.
- Fill in the details the recruiter asks for. The Before you begin article says this can include education, work history, courses and the languages you know.
- Complete ID verification if it is enabled. HackerEarth's ID verification page describes Aadhaar verification through DigiLocker, with an OTP sent to your Aadhaar-linked mobile number.
- Read the instructions and click Start Test. From this point the clock runs; you cannot pause.
- Answer questions and submit each coding solution. Submitting a question is not the same as ending the test.
- Click End Test. Per Ending your test, a pop-up shows the time left and a summary of unanswered questions. Once you confirm, you cannot get back in, even if time remains.
Step 9 catches many freshers. Clicking Submit, Compile and Test or Submit Project only saves that one answer; the test ends only when you click End Test and confirm.
What types of questions can a HackerEarth test include?
A HackerEarth test can include up to 11 question types, but most fresher tests use only MCQs and programming problems. HackerEarth's question types article lists them as follows.
| Question type | What you do | Who usually sees it |
|---|---|---|
| MCQ | Pick one or more correct options; auto-graded against a key | Almost every test: aptitude, CS fundamentals, language basics |
| Programming | Write code that reads input and prints output; judged on test cases | SDE, backend, data roles |
| SQL | Write queries against a given schema | Data analyst, backend, data engineering |
| Front end | Build or fix a page using HTML, CSS and JavaScript | Frontend and full-stack roles |
| Subjective | Short written answers, definitions or scenarios | Any role; graded by a person |
| Approximate | Problems with no single right answer, scored within criteria | Image processing, optimisation tasks |
| Golf | Write correct code in as few characters as possible | Rare in hiring tests |
| File | Upload a file such as a .zip project | Take-home style tasks |
| Machine Learning | Build a model on a dataset | Data science and ML roles |
| Java project | Work inside a multi-file Java project | Java developer roles |
| Diagram | Draw class, architecture or flow diagrams | Design-heavy roles |
For programming questions, the language list depends on what the employer enabled. HackerEarth's supported browsers and languages page lists 36 languages, including C, C++14, C++17, Java 8, Java 17, Python 3, JavaScript (Node.js), Go and Kotlin. Pick the one you are fastest in, not the one you think looks impressive. If you are still building speed in one language, our DSA preparation plan for placements is a good place to start.
How are HackerEarth coding questions evaluated?
Your code is run against visible sample cases when you compile and against hidden cases when you submit, and the hidden ones decide your score. HackerEarth's test cases article explains that sample input and output appear below the constraints and run when you click Compile & Test, while internal test cases stay hidden and run on Submit.
What this means in practice:
- Passing the sample case proves very little. Hidden cases usually include edge inputs such as empty arrays, a single element, the maximum constraint and negative numbers.
- Read the constraints before choosing an approach. If n can be large, a nested-loop solution may pass the sample and still fail hidden cases on time.
- Print exactly what the output format asks for. Extra spaces, debug prints or a missing newline can fail a case.
- Submit a working brute-force version early, then optimise. A partial solution that passes some hidden cases beats a perfect idea you never submitted.
What proctoring settings can the employer turn on?
The employer, not HackerEarth, chooses the proctoring level, so two HackerEarth tests can feel very different. HackerEarth's recruiter-facing article on making the right proctoring settings describes these options:
| Setting | What it does to you as a candidate |
|---|---|
| Disable copy-paste in the code editor | You cannot paste code from the web or your own files |
| Disable copying problem statements | You cannot copy the question text out of the test |
| Webcam snapshots | Webcam access is mandatory; photos are taken at random intervals and a small preview shows in the bottom-right corner |
| Full-screen restriction | Leaving full-screen mode triggers a warning |
| Log out on leaving the test environment | Each tab switch, window switch or app opened counts as a warning; the default limit is 5 warnings before you are logged out, and the employer can change it |
| IP restriction | The test opens only from approved IP addresses, such as a college lab |
| Smart Browser | You must install HackerEarth's desktop lockdown app and take the test inside it |
The "leaving the test environment" rule is wider than most candidates think. The Before you begin article says it covers opening another tab or window and also opening another application, including antivirus or messaging pop-ups. A WhatsApp Desktop notification you click can cost you a warning. Our guide on what happens when you switch tabs in an online test covers how this works across platforms.
HackerEarth has also added review tools for employers. Its March 2024 release notes describe a "candidate looking away" snapshot category and an integrity index that lowers a candidate's score for tab switches, snapshot violations and plagiarism.
What do you need for HackerEarth's Smart Browser?
If your invite mentions Smart Browser, you need a desktop or laptop that meets HackerEarth's hardware list and you must install the app before test day. HackerEarth's SmartBrowser help guide for candidates lists:
- Windows 10 or 11, Ubuntu 20.04, 22.04 or 24.04, or macOS 13.5 Ventura and later
- 2 CPU cores, 2 GB RAM with 1 GB free, and 1 GB of free disk space
- At least 512 kbps download speed, with a working webcam, microphone and speakers
- Only one monitor
The same guide says Smart Browser blocks virtual machines, virtual cameras such as OBS Virtual Camera, extra monitors or TVs, and screen-sharing, messaging and recording apps. Screen sharing must stay on for the whole session, and your face must be visible and well lit. HackerEarth's advanced proctoring settings page adds that if you leave Smart Browser and do not return within 10 seconds of the first warning, you are removed from the test.
For an ordinary browser-based test, HackerEarth's minimum requirements page asks for at least 512 kbps internet, a screen wider or taller than 768 pixels, cookies enabled, and a supported browser (Chrome, Firefox, Edge or Safari).
What do most guides on HackerEarth assessments get wrong?
Most guides treat "HackerEarth test" as one fixed format, with a fixed number of questions and a fixed time. It is not. HackerEarth is a platform; each employer builds its own test from the question types and proctoring settings above. A service company's campus round and a product startup's backend test can both run on HackerEarth and share almost nothing.
So ignore claims like "HackerEarth tests always have 2 coding questions in 60 minutes". Your invite email and the instructions screen are the only reliable description of your test. Read them slowly before clicking Start Test, because that is where the employer tells you the sections, the timing and whether negative marking or webcam proctoring applies.
The second common mistake is treating HackerEarth like a practice site. Many freshers know HackerEarth from its public coding challenges, where you can switch tabs and look things up. A recruiter's assessment is a different product with logging switched on.
How should you prepare in the week before a HackerEarth test?
Spend most of the week on the skills the job description names, and one evening on the platform itself. A simple plan:
| Day | Focus |
|---|---|
| Day 1 | Read the job description; list the likely sections (aptitude, CS basics, coding, SQL) |
| Days 2-4 | Timed coding practice in one language: arrays, strings, hashing, sorting, two pointers |
| Day 5 | SQL joins and aggregations if the role mentions data; see our SQL interview questions |
| Day 6 | Take HackerEarth's practice test; run the system check; install Smart Browser if required |
| Day 7 | Light revision, charge laptop, plan a quiet room and a backup internet hotspot |
If the role is in a service company drive, the aptitude section often matters as much as coding; our aptitude test preparation guide covers the usual topics.
Related guides
- Online Assessments for Jobs in India: Complete Guide
- Mercer Mettl Test: Rules, Proctoring and What Is Allowed
- SHL Assessment for Freshers: Test Types and How to Prepare
- Tab Switch Warning in Online Test: What Happens Next?
FAQ
Can I pause a HackerEarth assessment once I start?
No. HackerEarth's candidate help centre says that once you click Start Test the timer cannot be paused. Before starting, make sure your laptop is charged, your internet is stable, notifications are off and you have a quiet room for the full duration shown in the invite email. If you lose connection, contact the recruiter who sent the link straight away.
Does HackerEarth detect tab switching?
Yes, when the employer enables it. HackerEarth's proctoring settings can count every time you leave the test, including switching tabs or windows and opening another app or notification. Each exit triggers a warning, and after the limit, 5 by default and adjustable by the employer, you are logged out. In Smart Browser you get 10 seconds to return after a warning.
Is the webcam always on in a HackerEarth test?
Only if the employer turns on webcam snapshots. When it is on, HackerEarth's help centre says you must allow webcam access to take the test, photos are taken at random intervals, and a small preview appears in the bottom-right corner. Some employers also enable Aadhaar-based ID verification through DigiLocker before the test starts.
How long is a HackerEarth test link valid?
It depends on the employer. HackerEarth's invite email shows a start time and an end time, and you can begin any time within that window. Some tests have no expiry, but HackerEarth's help centre recommends attempting within 2 days of receiving the link. Check your spam folder and the end time as soon as the invite arrives.
Which programming languages can I use on HackerEarth?
HackerEarth's help centre lists 36 supported languages, including C, C++14, C++17, Java 8, Java 17, Python 3, JavaScript (Node.js), Go, Kotlin and Rust. The employer chooses which of these are enabled for a particular test, so check the language dropdown on the first coding question and pick the one you code fastest in.
Why did my code pass the sample but get a low score?
Because HackerEarth scores code on hidden internal test cases that run when you click Submit, not on the visible sample. Hidden cases usually test edge inputs and large constraints. Check empty or single-element inputs, the maximum value of n, exact output formatting, and whether your approach is fast enough for the stated limits.
Final thoughts
A HackerEarth assessment rewards candidates who read the invite, practise on the platform once and treat every tab switch as a logged event. Once you have cleared the test, make sure the resume the recruiter sees next matches the role: run it through the Asuraa resume reviewer against the job description, and browse fresher openings on Asuraa Jobs.
Related articles
Online Assessments for Jobs in India: Complete Guide
A reading path for online job assessments in India: platforms, company test patterns, proctoring rules and how to prepare for aptitude, coding and personality sections.