HackerRank-style coding test prep

HackerRank practice, from prompt to passing cases.

Build a test-day rhythm with 20 high-frequency public-catalog problems: read the contract, implement under time pressure, and test the edges before you submit.

20-problem previewHackerRank evidenceCorrectness + efficiency
HackerRank problem preview
915 problems with explicit HackerRank evidence

20 problems for HackerRank practice

Ranked by repeated public catalog sightings. Start with any problem below.
Show all problems

20 HackerRank practice problems loaded.

CompanyProblemDifficultyPublic evidenceAction
AMAmazon
Maximize Negative PnL MonthsGreedyHeapMedium14 public reportsLatest Nov 2024Practice
AMAmazon
Find Maximum Total Amount (SDE I, Fungible :)Prefix SumSliding WindowMedium11 public reportsLatest Aug 2026Practice
AMAmazon
Merge IntervalsIntervalsSortingEasy10 public reportsLatest Jul 2026Practice
AMAmazon
Get Distinct Pairs (Also apply to AS intern)Hash TableTwo PointersEasy8 public reportsLatest Jul 2026Practice
AMAmazon
Count Possible Winners (All About Rewards :)ArraySortingMedium8 public reportsLatest Jun 2025Practice
AMAmazon
Minimize Maximum ParcelsArrayBinary SearchMedium8 public reportsLatest Mar 2025Practice
AMAmazon
Create Array Generator ServiceGreedyHeapMedium7 public reportsLatest Jul 2026Practice
AMAmazon
Best Way to PackStringGreedyHard7 public reportsLatest Mar 2026Practice
AMAmazon
Get Special StringStringGreedyHard7 public reportsLatest Jun 2025Practice
AMAmazon
Compute Lowest Linking (Connection) ExpensePrefix SumBinary SearchHard7 public reportsLatest May 2025Practice
AMAmazon
Find Maximum Number of Subjects Passed (AS Intern, but it may apply to other interns) 🍋ArrayGreedyEasy7 public reportsLatest May 2025Practice
AMAmazon
Find Capable WinnersSortingGreedyHard7 public reportsLatest Mar 2025Practice
AMAmazon
Find the Longest Isolated Substring LengthStringHash TableMedium7 public reportsLatest Feb 2025Practice
AMAmazon
Get Minimum ErrorsDynamic ProgrammingStringHard6 public reportsLatest Apr 2026Practice
AMAmazon
Get Maximum StabilitySortingGreedyMedium6 public reportsLatest Mar 2025Practice
AMAmazon
Get Outlier Value (Amazon London)ArrayMathEasy6 public reportsLatest Jan 2025Practice
AMAmazon
Minimum Circular Redistribution CostArrayPrefix SumHard5 public reportsLatest Jul 2026Practice
AMAmazon
Minimum Operations to Make the Integer ZeroArrayGreedyMedium5 public reportsLatest Jul 2026Practice
AMAmazon
Maximum Final ValueGreedySortingEasy5 public reportsLatest Jul 2026Practice
AMAmazon
Find Least Possible VulnerabilityArrayBinary SearchHard5 public reportsLatest Jun 2025Practice
Showing 20 of 915 public HackerRank matchesShow all problems
  • HackerRank filter

    Browse problems with explicit platform evidence.
  • Company context

    See the employers attached to each public catalog report.
  • Runnable prompts

    Implement and execute your solution in one workspace.
  • Custom cases

    Check boundaries before you call a solution finished.

Build a complete coding-test rhythm.

Employers configure their own tests. Practice the repeatable work that transfers across them: understand the contract, choose an efficient approach, implement, and verify.

  1. 01

    Start from the contract

    Read the examples, input and output shape, and constraints. Choose the data structure and estimate complexity before writing code.

  2. 02

    Implement against a clock

    Use a strict timebox and reserve a final review window instead of coding until the last second.

  3. 03

    Test beyond the happy path

    Add small, empty, duplicate, boundary, and large-input cases that follow from the stated constraints.

Put the coding test inside your interview plan.

Use company hiring signals to decide what deserves attention, then track the invitation, due date, and recruiter follow-up alongside the rest of your applications.

What candidates should know.

Clear guidance on the catalog evidence, the practice workflow, and the boundary between independent preparation and official platform content.

01Is FastPrep affiliated with HackerRank?

No. FastPrep is an independent interview preparation and application tracking product. This page filters FastPrep's public catalog to entries with explicit supporting HackerRank evidence.

02Does FastPrep provide official or private HackerRank questions?

No. FastPrep does not provide official, private, leaked, or proprietary HackerRank questions. The problems are intended to build transferable implementation and testing skills.

03How are HackerRank practice problems selected?

FastPrep previews 20 public assessment problems with explicit HackerRank evidence and orders them by repeated public catalog sightings. The full filtered problem bank contains the remaining matches.

04How should I run a HackerRank-style practice session?

Set a timebox, read the full contract and constraints, state the intended complexity, implement without switching tasks, and leave time to run custom boundary cases. Follow the rules in your actual assessment invitation.

05How can I see every HackerRank practice problem?

Select Show all problems above or below the preview table. The full problem list opens with the HackerRank filter already applied.

Your next useful action

Practice the whole loop once.

Choose a problem, set a timer, and finish with deliberate edge-case checks.

View practice problems