Skip to content
[ Process & materials ]

Online Assessments for New Grad SWE Roles: How to Pass HackerRank and CodeSignal Rounds

How a software engineer online assessment works on HackerRank and CodeSignal, how hidden tests score you, a timing strategy, and mistakes to avoid.

By TechInView6 min read
  • HackerRank online assessment
  • CodeSignal assessment
  • new grad OA
  • coding assessment tips

Short answer: a software engineer online assessment (OA) is a timed, auto-graded coding test, usually 2 to 4 problems in 60 to 90 minutes. Hidden test cases do most of the scoring, so a correct, slightly slow solution that passes every case beats an elegant one that misses edge cases. Read all the problems first, bank the easy one, and never leave a problem with zero test cases passing.

Every September, fall recruiting opens and the OA link arrives a few days after you apply. For new grad and intern roles, the OA is often the biggest filter in the whole process: hundreds of applicants take it, and only a slice reach a human. This guide covers how OAs are built, how they are scored, and how to spend the clock.

What an OA actually looks like

Formats vary by company and change from season to season, but most follow one of these shapes:

FormatTypical shapeWhat it rewards
Classic coding OA2 to 3 problems, 60 to 90 min, easy to medium-hardCorrectness on hidden tests
Escalating set4 problems that get harder, around 70 minSpeed on the first two, partial credit on the last
Debugging or code reviewFix or explain existing codeReading code you did not write
Work-style or situational surveyMultiple-choice behavior questionsConsistency with the company's stated values

Some companies add a short written section ("explain your approach") or a system-design-flavored multiple choice. Read the invite email carefully: it usually tells you the platform, the duration, and whether you can pick your language.

How the score is computed

Most platforms run your code against a set of test cases you cannot see. Your score is mostly the share of cases you pass, sometimes weighted by problem difficulty. A few things follow from that:

  • Partial credit is real. A brute-force solution that passes 9 of 15 cases is worth far more than a clever solution that does not compile.
  • Time limits are part of the test. Large hidden inputs exist to fail O(n²) solutions when O(n log n) is expected. Check the constraints before you choose an approach. If you are unsure what a bound like n up to 10⁵ implies, see the time complexity cheat sheet.
  • Edge cases are where points leak. Empty input, a single element, duplicates, negative numbers, and integer overflow show up in hidden tests far more often than in the visible examples.
  • Plagiarism and proctoring checks exist. Many OAs record your screen or webcam, track tab switches, and compare submissions. Treat it like an exam.

A timing strategy that works

For a 3-problem, 90-minute OA:

  1. Minutes 0 to 5: read every problem. Rank them by how quickly you can get to a passing solution, not by the order shown.
  2. Minutes 5 to 25: solve the easiest one completely. Test it against your own edge cases before you submit.
  3. Minutes 25 to 70: take on the medium problem. If you see the optimal approach, write it. If not, write the brute force first, submit it for partial credit, then improve it.
  4. Minutes 70 to 90: go back to whatever is weakest. A brute force on the hardest problem that passes the small cases is often worth more than polishing the one you have already solved.

The rule underneath all of this: never leave a problem at zero. Something that runs and passes small inputs always beats a blank editor.

The patterns OAs lean on

OA problems are usually standard patterns dressed in a story about servers, warehouses, or playlists. The most common:

The trick is translation. Strip away the story and ask, "What is the input, what is the output, and which pattern does that shape match?" The guide on how to read a coding interview problem walks through that step.

Common ways strong candidates fail OAs

  • Reading input wrong. Some platforms make you parse stdin yourself. Practice that boilerplate in your language before the test, not during it.
  • Over-engineering the first problem. The easy problem is there to be finished quickly. Do not spend 35 minutes making it perfect.
  • Testing only the sample. The samples are the cases the problem writer wanted you to pass. Write three of your own: empty, smallest, and largest.
  • Taking it on a bad day. Most OA links stay valid for several days to two weeks. Take it rested, at your best time of day, with a quiet room and a charged laptop.

What happens after the OA

If you pass, the next step is usually a recruiter call or a live technical screen, sometimes within a week or two. That round adds the part the OA cannot test: explaining your thinking out loud while you code. Start practicing that now, because it is a separate skill from solving problems silently. How to think out loud in a coding interview covers the habits that interviewers write down.

FAQ

Can I use any language in an online assessment?

Usually yes. Most platforms support Python, Java, C++, and JavaScript. Pick the language you can write fastest with the fewest bugs. For most people that is Python; see which language to use for coding interviews.

Is it okay to submit a brute-force solution?

Yes, and often it is the right call. Submit the brute force for partial credit first, then optimize if time allows. A working brute force also gives you a reference to check your faster version against.

Do OA scores carry over between companies?

Some platforms offer a general assessment score that several companies accept, and you may be able to reuse a recent result. Check the invite: many companies still send their own test.

How should I practice for an OA?

Solve timed sets of 2 to 3 problems with a hard stop, and grade yourself only on whether the code passed. TechInView's practice mode runs your Python or JavaScript against public and hidden tests, which is close to how an OA grades you.


Summary: a software engineer online assessment is scored on hidden test cases under time pressure. Read every problem first, bank the easy one, submit brute force before optimizing, and test edge cases yourself. Pass it, and the next round tests the same skills out loud.

[ Practice out loud ]

Reading this is the easy half.

Start with free DSA practice, then switch into a voice mock interview with live coding and a scored breakdown when you want the full simulation.