Top 50
Company roadmap
Updated weekly · Last refresh Dec 1

HackerRank Interview Questions

The questions to prepare for HackerRank interviews, across all roles. Questions from real interview reports rank first. Updated daily.

50questions
~9htotal time
Free to start
Track your progressSign up free to track your progress on this list and resume where you left off.
Start practicing free
Free to startNo credit card needed
1
CodingStart here. 5 questions · ~56 min
2
SQL & Data Manipulation5 questions · ~56 min
SQL Ranking FunctionsMedium
Practice

Compare RANK, DENSE_RANK, and ROW_NUMBER by applying each to ordered employee scores.

Data ManipulationRankingdatabase queryingHackerRank
Premium4 more questions in this stage
Free to start

Keep going with a free account

Sign up to see one more question, run code and track your progress.

Free to startNo credit card needed
  • Stage 3 · MetricsPremium
  • Stage 4 · System DesignPremium
  • Stage 5 · ExecutionPremium
3
Metrics4 questions · ~45 min
Diagnose Engagement DropHard

Identify the causes of a quarterly engagement decline through metric validation, decomposition, segmentation, and trend analysis.

MetricsDiagnosisuser engagementHackerRank
Premium3 more questions in this stage
4
System Design5 questions · ~56 min
URL Shortener with Real-Time AnalyticsHard
Recently asked

Design a URL shortener with real-time click analytics, monitoring, and failure detection at scale.

distributed systemsanomaly detectiondata streamsHackerRank
Premium4 more questions in this stage
5
Execution5 questions · ~56 min
Balancing Speed Quality and ScopeHard

Describe a time you had to choose between speed, quality, and scope, and how you aligned stakeholders around the trade-off.

Trade-offsRisk AssessmentScope ManagementHackerRank
Premium4 more questions in this stage
6
A/B Testing & Experimentation3 questions · ~33 min
Common Pitfalls in Experiment ResultsHard

Identify the main pitfalls that can distort A/B test interpretation and explain how to guard against them.

PeekingNovelty EffectSample Ratio MismatchHackerRank
Premium2 more questions in this stage
7
More topics23 questions · ~256 min
Define Metrics for New FeaturesMedium

Define a success metric for a new feature that captures real user value, not just raw usage.

MetricsFeature Prioritizationuser valueHackerRank
Choosing a Significance TestEasy

Explain how to choose an appropriate significance test based on metric type, study design, and the null hypothesis.

Confidence IntervalsHypothesis TestingStatistical SignificanceHackerRank
Premium21 more questions in this stage
The finish line: interview-readyComplete all 50 questions to finish this plan.