We use cookies for analytics to improve our service. See our Privacy Policy.

    Sign up free to unlock interview prep materials and a free mock interview for your next role.

    Start Free
    online assessment
    coding interview
    interview prep
    practice plan

    How to Pass an Online Coding Assessment: Before and During the Timer

    Hoppers AI Team·November 20, 2026·6 min read

    An online coding assessment is a timed test, often sent as a link, where you solve programming problems in a browser editor with no interviewer on the line. Automated tests run your code, and employers can set a minimum score to decide who moves on. To pass one, learn the platform, practice under a timer, read the whole problem before typing, and test your code against edge cases before you submit.

    This guide covers how to prepare, a routine for the test itself, and the rules on outside help. The routine and the practice plan are our suggestions, not requirements from any employer.

    What the sources say

    Northern Arizona University's career office describes HackerRank as "a programming practice platform that provides competitive challenges and tests". It says employers use such tests as "a standardized and objective way to evaluate coding proficiency" and can set minimum scores to screen candidates. Its advice: find out which skills the employer is testing, practice regularly, practice on the platform the employer uses so the interface is familiar, and practice in conditions that resemble a real interview.

    Salesforce's Trailhead guide to its own software engineer assessment adds specifics for that employer. It recommends a sample test "to learn the setup and question style", says to "take your time with the full problem before writing anything", and says running tests inside HackerRank does not count against you. Your employer's rules may differ, so read your invitation.

    Before the test

    1. Ask what to expect. Ask your recruiter or read the invitation for the platform, the time limit, the number of problems and the languages allowed. Formats differ between employers.
    2. Take a sample test. If the platform offers one, do it once so the editor, the run button and the submit flow are not new to you.
    3. Pick one language and stay with it. Choose the language you write fastest and know the standard library of, for input parsing, sorting, maps and sets.
    4. Practice by pattern. Cover the common types: hash maps, two pointers, sliding window, binary search, trees and graphs. Our coding patterns chapter is a starting list, and our guide on how many LeetCode problems you need explains what to track instead of a count.
    5. Use a timer. Solve practice problems with the limit from your invitation, so pacing is something you have already felt.
    6. Set up the room. Close other windows, charge your laptop, check your internet connection and block out the full time.

    A routine for the timer

    1. Skim every problem first. Spend the first minutes reading all of them, then start with the one you are surest of. Check your invitation for how problems are scored.
    2. Read the whole statement. Note the input size, the output format and any constraints. Salesforce's guide says to take your time with the full problem before writing anything.
    3. Write down the plan. One or two lines in a comment: the approach and its time cost. If the input is large, check that the plan is fast enough before coding.
    4. Get a simple version working. A correct brute-force solution that passes some tests is better than an elegant one that does not run. Improve it if time remains.
    5. Test edge cases. Try an empty input, a single item, duplicates, the largest allowed size and negative numbers where they are allowed. Run your own cases in the editor before you submit.
    6. Watch the clock. Our suggestion: decide before you start how many minutes each problem gets. When that time is up and nothing passes, move on and come back.
    7. Submit before time runs out. Leave a few minutes for the final read of your code.

    When you get stuck

    • Restate the problem in your own words in a comment. It often shows the missing piece.
    • Solve a smaller version by hand with a tiny example, then generalize.
    • If the platform scores by tests passed, a solution that handles the simple cases can still earn points. Check how yours scores.
    • Keep your cool. A problem that fails is not the end of the test: you still have time for the others.

    Rules on AI tools and outside help

    Read the rules in your invitation. Salesforce's guide, for example, says that "AI tools are not permitted during the live HackerRank assessment" and that Proctor Mode "monitors for activity that may indicate the use of unauthorized assistance". The same guide encourages candidates to use AI in their general interview prep. That is a good model: use tools to learn before the test, and follow the employer's rules during it.

    Practice speaking for the round after the test

    After an online assessment, the next step is often an interview with a person, where you explain your approach aloud. Solving problems in a browser tab does not train that. In a Hoppers mock interview, an AI interviewer asks the question aloud. In the technical coding mock you write code in an editor and explain it out loud, and Hoppers scores problem solving, code quality, algorithms and communication. The free plan includes 60 minutes in total, with each session capped at 15 minutes, enough for a short round after your timed practice. See also how to think out loud in a coding interview.

    Limits to keep in mind

    • No routine guarantees a pass. Preparation raises your odds, nothing more.
    • Platforms, time limits and scoring differ by employer, and many do not publish their pass marks.
    • This guide does not cover take-home projects or tests that include other sections, such as math or multiple choice. Check your invitation.

    FAQ

    Can I use Google or notes during an online assessment?

    Only if your invitation says you can. Some platforms monitor activity, so check the rules and ask your recruiter if they are unclear.

    Which language should I use?

    Salesforce says its assessment is less focused on your knowledge of a specific language. Choose the language you are fastest and most accurate in, unless the invitation requires one.

    Can I retake it?

    That is set by the employer. Ask your recruiter before you start, and assume you have one attempt.

    Sources

    • Northern Arizona University, Franke Career Development, What Is HackerRank?: what the platform is, how employers use it, tips for practicing.
    • Salesforce Trailhead, Ace the technical assessments: sample test, reading the problem, test cases, AI tools and proctoring for that employer.

    Rehearse the next round. Start a coding mock interview, free for your first 60 minutes, and find the pattern you cannot yet explain.