Top 22
Prep plan
Updated weekly · Last refresh Oct 17
H

HackerEarth Software Engineer Interview Questions

The questions to prepare for a HackerEarth Software Engineer interview. Questions from real interview reports rank first. Updated daily.

22questions
~3htotal time
Track your progressSign up free to work through all 22 questions and resume where you left off.
Start practicing free →
1
CodingStart here. 10 questions + 1 drill · ~100 min
Compute GCD With TestsHard
Practice

Compute the GCD of two signed integers with up to 100,000 digits using string arithmetic and Euclid's algorithm.

HHackerEarth
Find Shortest Path for All NodesHard

Tests your graph algorithm knowledge and problem-solving approach.

shortest pathHHackerEarth
Check Armstrong NumberMedium

Tests your implementation skills for digit-based logic problems.

HHackerEarth
SQL Coding With Joins and AggregatesMedium
Practice
Practice drill

Join streaming tables, aggregate monthly streams, and return artists ranked within each genre after listener filtering.

CodingpandasJoinsSpotify
More Coding questions with a free account
2
SQL & Data Manipulation5 questions + 2 drills · ~65 min
Explain SQL Join TypesEasy

Explain INNER, LEFT, RIGHT, FULL OUTER, CROSS, and SELF JOINs with examples and when to use each.

JoinsData WranglingGroup ByHHackerEarth
Write a SQL QueryMedium

Evaluates your ability to write correct SQL for data retrieval and analysis.

sqlHHackerEarth
Explain OOP and InheritanceEasy

Evaluates your understanding of core OOP concepts relevant to HackerEarth codebases.

oopHHackerEarth
Optimizing Complex SQL QueriesMedium
Practice
Practice drill

Write and optimize a PostgreSQL query that summarizes current enrollment activity across studies and sites.

Performance Tuningdatabase optimizationJoinsXPOMedpace
Optimize International Booking AggregationHard
Practice
Practice drill

Optimize daily booking aggregation across markets and calculate each market's prior-day GBV change.

Performance Tuningdatabase optimizationJoinsAirbnb
More SQL & Data Manipulation questions with a free account

Sign up to see every question

Create a free account to unlock this list and practice real interview questions.

Get my prep plan
3
Execution3 questions · ~27 min
Design Round PreparationHard

Evaluates how you approach and communicate during higher-pressure design discussions.

HHackerEarth
Express Async Error HandlingMedium

Assesses your ability to implement robust error handling in Node.js/Express services.

error handlingHHackerEarth
More Execution questions with a free account
4
Behavioral & Leadership4 questions · ~36 min
More Behavioral & Leadership questions with a free account
The finish line: interview-readyComplete all 22 questions plus 3 hands-on drills to finish this plan.