X (formerly Twitter) frontend mock interview
Pick from 10 questions candidates reported at X (formerly Twitter) 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.
X (formerly Twitter)'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
X (formerly Twitter) mock interviews are part of Pro
With a free account you can take mock interviews for Google, Meta, Amazon, Microsoft and Flipkart.
The X (formerly Twitter) loop
The rounds X (formerly Twitter) runs for frontend roles, from its interview guide. The mock interview rehearses the coding and design rounds.
- 1Engineer screening callA short call with an engineer on the team rather than a recruiter. A November 2024 community tip on the Front End Interview Handbook describes a 15-minute video call; a third-party xAI guide describes the same first step.
- 2Technical screenBefore 2022: a UI task on pre-written code in HackerRank (a 2021 LeetCode Discuss report) or HTML, CSS and JavaScript questions (a 2021 Blind post). Full-stack candidates reported a LeetCode medium instead.
- 3Frontend codingPractical UI builds. A Twitter engineer on Blind (March 2022) said no frameworks and no LeetCode; later community tips (2025) describe an autocomplete, tic-tac-toe and a progressive feed with JSX provided.
- 4AlgorithmsIn some loops only. Full-stack candidates in 2021 and an xAI frontend candidate in 2025 report a LeetCode-style problem alongside the UI work.
- 5System designThe Front End Interview Handbook says X's design round is open-ended and not only frontend. A 2021 Twitter engineer on Blind described a system design round and a product and API design round.
- The full X (formerly Twitter) interview guide
X (formerly Twitter) questions in this mock interview
Every one of them opens with Pro.
JavaScript round1
React & UI round7
- Implement event delegation for a dynamic list15 min
- Build search-as-you-type with debounce and AbortController35 min
- Implement optimistic UI updates with rollback on failure40 min
- Build a typeahead/autocomplete with caching and keyboard support45 min
- Build tic-tac-toe on an N×N board with M in a row to win40 min
- Compose card components three ways: slots, a compound Card API and a tweet card45 min
- Build a like button in vanilla JavaScript with hover, loading, liked and error states25 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.