Home · Blog · Technical and coding

Online coding assessment tips (HackerRank, CodeSignal)

Online assessments are often the first technical step, and they're scored automatically. No interviewer is watching, but the test cases are. Here's how these platforms work, how to manage the time, and how to avoid the mistakes that cost the most points.

Ghostpilot team · · 4 min read

A dark blue card with the title "Online coding assessment tips" next to the Ghostpilot ghost

In short

Practise this free: a mock interview for Coding round (algorithms), scored, with a stronger answer. 3 a month, no card.

Start a mock interview

An online assessment (OA) is often the first technical step after you apply. You get a link, a time limit of 60 to 120 minutes, and two to four problems. There’s no interviewer, so there’s no partial credit for explaining your reasoning: the platform runs your code against test cases and counts what passes.

That makes OAs different from live interviews. Correctness, edge cases and time management matter more than communication.

How online assessments work

The common platforms are HackerRank, CodeSignal, Codility and CoderPad’s take-home mode. Details differ, but most share these features:

Read the instructions at the start carefully. They tell you what’s allowed, whether you can go back to earlier questions and how the time works.

Before the test

Time strategy

  1. Read every question first (two to three minutes). Note which ones look easy.
  2. Solve the easiest first. Bank points early.
  3. Submit a working solution before optimising. A brute force often passes most small tests.
  4. Watch the clock. If you’ve spent twice the expected time on one question with no progress, move on.
  5. Come back to improve if there’s time left, re-running all tests after every change.

Hidden test cases: where points are lost

Hidden tests usually check the cases you didn’t think of. Before submitting, test:

A quick pre-submit routine:

“Run the samples. Add a custom test with an empty list. Add one with a single element. Add one with duplicates. Check the constraint: up to 100,000 elements, so my O(n squared) loop may time out; switch the inner search to a set. Run everything again. Submit.”

Reading input quickly

Many platforms give you input as text you must read and parse yourself, and that’s where nervous candidates lose the first ten minutes. Before the test, write a short template in your language for the usual formats: a single number, a line of space-separated numbers, a number n followed by n lines, and a grid of characters. Practise printing output in the expected format too, including lists printed on one line.

Other platforms give you a function signature to complete instead. In that case, don’t print anything extra: debug prints left in your code can make otherwise correct answers fail.

Assessments with multiple-choice or debugging questions

Some assessments mix coding with other formats: multiple-choice questions about complexity or language features, SQL tasks, or code with a bug to find. For multiple choice, eliminate clearly wrong answers first and don’t spend long on one question. For debugging tasks, run the code with the sample input, read the error or the wrong output carefully, and change one thing at a time.

If your solution times out

A “time limit exceeded” message on large tests means the approach is too slow, not wrong. Look for a nested loop you can replace with a hash map, repeated work you can store, or a sort that enables two pointers or binary search. Even if you can’t fix it, the smaller tests still count.

Mistakes to avoid

After the assessment

Results usually arrive within a few days to two weeks. If you pass, the next step is often a live coding round or a pair programming session; see our live coding interview tips and how to pass a coding interview. Whatever the result, write down the problems you saw and practise them properly; similar ones come up again. Our LeetCode study plan helps you fill the gaps.

Ghostpilot’s Chrome extension works on HackerRank, LeetCode, CodeSignal, Codility and CoderPad pages for practice and for assessments where AI help is allowed; always check the rules of the test you’re taking. Our software engineer interview questions cover the rest of the process.

Prepare for the rounds after the test, free. Ghostpilot’s mock interviews ask the technical questions for your role and score how clearly you explain your solution.

3 mock interviews a month are free, with no card needed.

Start free

Questions

How are HackerRank and CodeSignal tests scored?

Mainly by automated test cases, many of them hidden. Each passed test earns points. Some platforms also measure time taken, and companies may review your code or check it for plagiarism.

Should I submit a brute-force solution in an online assessment?

Yes, if you can't see the optimal one quickly. A brute force often passes the smaller test cases and earns partial points. Improve it afterwards if time allows.

Can I use Google during an online coding assessment?

It depends on the company's rules, which are usually stated at the start. Some allow documentation; many don't. Read the instructions and follow them, as tests may be monitored.

How do I prepare for a CodeSignal or HackerRank test?

Practise easy and medium problems on the same platform, timed, so you're used to the editor and input format. Review arrays, strings, hash maps, sorting and basic graphs.

Get live help in your next interview

Ghostpilot hears each question and shows an answer from your CV, in a small window above your call. Free to start: 2 live interviews and 3 mock interviews a month, no card needed.

Keep reading

How to pass a coding interview (a step-by-step plan)Technical and coding · 4 min read
LeetCode study plan for interviews (8 weeks)Technical and coding · 4 min read
Big O notation for interviews, explained simplyTechnical and coding · 4 min read
Technical interviews for non-technical rolesTechnical and coding · 4 min read