X/Twitter Front End Interview Questions
Find more company guides on GreatFrontEnd.
JavaScript coding questions
- 2D-array variants (Karat first-round technical screen). The reported question was a snake-game-style problem on a 2D grid, followed by a harder variant (medium/hard) on the same array shape. Interviewers keep asking new variants if you finish — pace yourself.
User interface coding questions
- Implement a typeahead. Source
- Read answer (Free)
- Add features to a tic-tac-toe game.
- Practice question (Free)
- Build a Twitter feed as a progressive UI coding question:
- Level 1: Show posts using hardcoded data (JSX for each post is given).
- Level 2: Add a new post.
- Level 3: Fetch post details via API; also fetch the author of each post — if the author is the user themselves, display "You" instead of their name.
- Level 4: Show a likes count. Liking should increment the count and the feed should sort by likes.
System design questions
- Open-ended system design — actual system design, not just frontend-focused. Watch walkthroughs of designing Netflix, Twitter, Facebook, etc.
- Read answer (News Feed) (Free)
- "Logical & Maintainable" round: an interviewer asks a simple question and iterates on top of it to see how you write maintainable code. Don't over-abstract — they care that you abstract only with reason.
Quiz questions
- What is the difference between
Array.prototype.mapandArray.prototype.forEach?- Read answer (Free)
Source: Glassdoor Twitter Front End Developer Interview Questions
Insider tips from the GreatFrontEnd community
These tips were shared by GreatFrontEnd users who have completed interviews with Twitter.
5th Sep 2025:
Got asked to "Design Twitter feed" as a progressive UI coding question. The levels were:
- Show posts using hardcoded data; JSX was provided for the post.
- Add a new post.
- Fetch post details via API; also fetch the author of each post — if the author is the user themselves, display "You" instead of the name.
- Show the likes count. Liking should increment the count, and the feed should sort by likes. There was one more case I don't remember.
5th Jan 2025:
Study for tic tac toe and autocomplete questions
6th Nov 2024:
I had one last month for their product web engineer role. They don't have recruiters at xai. It's the engineers in the team that filter resumes, call candidates.The first round was a short 15 mnts google meets call, the engineer went over what they are building - they are basically upgrading a legacy app built by twitter engineers years ago into react and looking for someone who has both react as well as react native skills. Received a rejection after the initial chat.
For more insider tips, visit GreatFrontEnd!