Khatabook frontend mock interview
Pick from 11 questions candidates reported at Khatabook 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.
Khatabook's 11 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
Khatabook mock interviews are part of Pro
With a free account you can take mock interviews for Google, Meta, Amazon, Microsoft and Flipkart.
The Khatabook loop
The rounds Khatabook runs for frontend roles, from its interview guide. The mock interview rehearses the coding and design rounds.
- 1Problem solving and DSAAbout an hour: a deep dive into your resume and projects, then two DSA problems. A 2025 round asked Merge Intervals and Capacity To Ship Packages Within D Days; 2021 rounds asked a LeetCode medium, a BFS question and an LFU cache.
- 2Low-level design, sometimes with DSAAbout 90 minutes in 2025: design patterns you have used, then designing an app like Duolingo with the database schema, a leaderboard and live contests, plus Rotting Oranges. A 2021 round designed a quiz app with schema and APIs.
- 3High-level design (experienced roles)SDE and SDE-2 loops in 2021 had a separate HLD round, one on a WhatsApp-like one-to-one messaging service. A 2022 candidate was asked for a real-time user segmentation system.
- 4CEO or culture-fit roundAbout 30 minutes on Khatabook's product, vision and competitors, scenarios testing product ownership, and why you want to join.
- The full Khatabook interview guide
Khatabook questions in this mock interview
Every one of them opens with Pro.
JavaScript round5
- Implement an LRU cache35 min
- Implement an LFU cache with O(1) get and put40 min
- Implement binary search and its variants: insert position, first and last match, rotated arrays30 min
- Solve grid BFS problems: count islands and minutes until every orange rots40 min
- Trim a video with overlapping cuts: merge intervals and find the remaining length20 min
System design round5
- Design WhatsApp Web: real-time messaging, ordering, offline state and reconciliation60 min
- Design UPI payments on the web like PhonePe or Paytm: intent, collect and QR flows, status polling, retries and double-payment safety60 min
- Design a real-time game leaderboard for millions of players: top N, around me, live rank changes and caching55 min
- Design a language-learning app like Duolingo: offline lessons, streaks, XP and spaced repetition55 min
- Design a live multiplayer quiz like Kahoot: host and player sync, timers, answer locking and a live leaderboard55 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.