HackerRank frontend mock interview
Pick from 10 questions candidates reported at HackerRank or its interview guide picks, solve them against the clock, then answer the follow-ups.
Build your interview
Pick up to 6 questions, or add them at random. They share one clock and open in any order.
HackerRank's 10 questions are part of Pro. Choose Google, Meta, Amazon, Microsoft and Flipkart to pick from their free questions.
Your interview
0 of 6
0min on one clock
- 1Choose a free company to start
HackerRank mock interviews are part of Pro
With a free account you can take mock interviews for Google, Meta, Amazon, Microsoft and Flipkart.
The HackerRank loop
The rounds HackerRank runs for frontend roles, from its interview guide. The mock interview rehearses the coding and design rounds.
- 1ScreeningReported as two small React state questions in 2024, and as a 30-minute AI voice interview for a Frontend Engineer II opening in 2026.
- 2Hands-on assessmentA proctored task on an existing React and Node.js travel app: fix planted bugs and build features, with an AI coding assistant but no console.
- 3Machine codingExtends the assessment app with a new feature, or a React problem on lifting state up, plus basic JavaScript questions.
- 4Frontend system designDesigning an app such as Google Sheets, with follow-ups on low-level design, performance and security.
- 5Hiring manager and culture fitPast work, performance optimisation and caching, why HackerRank, and examples of acting on the company's core values.
- The full HackerRank interview guide
HackerRank questions in this mock interview
Every one of them opens with Pro.
JavaScript round2
React & UI round6
- Implement useLocalStorage() with serialization and cross-tab updates35 min
- Debug an infinite useEffect() loop and prevent stale asynchronous responses35 min
- Build a sortable and filterable data table35 min
- Implement useHotkey() for keyboard shortcuts with modifiers35 min
- Build a keyboard-accessible sortable list40 min
- Highlight the legal moves of a chess piece45 min
How the mock interview works
- 1Step 1
Build your interview
Pick how many questions you want from each round, the level and a company. Google, Meta, Amazon, Microsoft and Flipkart are free with an account; every other company is in Pro.
- 2Step 2
Solve them against the clock
The room goes full screen: your questions down the left, the problem beside a real editor with tests, and one clock for the whole set. Open the questions in any order.
- 3Step 3
Answer the follow-ups
Then the interviewer asks follow-up questions. Answer each one out loud, open the model answer, and grade yourself as strictly as an interviewer would.
- 4Step 4
Read your debrief
Tests or design, follow-ups and time add up to a score out of 100 for each question, with the verdict a debrief would give. Every score is saved to your dashboard.