X interview questions and how to prepare
The questions candidates report from X interviews, sorted by how often they come up, with difficulty and topics, plus original practice written in X's interview style.
ZorixOS tracks 51 community-reported X interview questions, drawn from an open-source dataset of real interview reports and sorted by how frequently each one comes up. Every question links to its source. Alongside them are 77 original ZorixOS practice questions written in X's known interview style (not claimed as asked at X), so you can rehearse the real format. Practice any of them out loud in a free AI mock interview tuned to X.
Updated July 2026
X interview questions candidates report
Community-reported from real X interviews (open-source dataset), most-asked first. Showing 51. Each links to its source.
- Flatten Nested List IteratorStackTreeDepth-First SearchDesignMedium100% asked
- Largest Plus SignArrayDynamic ProgrammingMedium100% asked
- LRU CacheHash TableLinked ListDesignDoubly-Linked ListMedium100% asked
- Merge IntervalsArraySortingMedium100% asked
- Trapping Rain WaterArrayTwo PointersDynamic ProgrammingStackHard100% asked
- Tweet Counts Per FrequencyHash TableStringBinary SearchDesignMedium100% asked
- Alien DictionaryArrayStringDepth-First SearchBreadth-First SearchHard97% asked
- Best Meeting PointArrayMathSortingMatrixHard97% asked
- Binary GapBit ManipulationEasy97% asked
- Medium97% asked
- Count Sub IslandsArrayDepth-First SearchBreadth-First SearchUnion-FindMedium97% asked
- Easy97% asked
- Design Authentication ManagerHash TableLinked ListDesignDoubly-Linked ListMedium97% asked
- Design SkiplistLinked ListDesignHard97% asked
- Design TwitterHash TableLinked ListDesignHeap (Priority Queue)Medium97% asked
- Finding the Users Active MinutesArrayHash TableMedium97% asked
- Flatten 2D VectorArrayTwo PointersDesignIteratorMedium97% asked
- Happy NumberHash TableMathTwo PointersEasy97% asked
- Implement Trie (Prefix Tree)Hash TableStringDesignTrieMedium97% asked
- Insert Delete GetRandom O(1)ArrayHash TableMathDesignMedium97% asked
- Integer to RomanHash TableMathStringMedium97% asked
- Invalid TweetsDatabaseEasy97% asked
- Investments in 2016DatabaseMedium97% asked
- Kth Smallest Element in a Sorted MatrixArrayBinary SearchSortingHeap (Priority Queue)Medium97% asked
- Lowest Common Ancestor of a Binary Search TreeTreeDepth-First SearchBinary Search TreeBinary TreeMedium97% asked
- Medium97% asked
- Max Points on a LineArrayHash TableMathGeometryHard97% asked
- Merge k Sorted ListsLinked ListDivide and ConquerHeap (Priority Queue)Merge SortHard97% asked
- Minimum Elements to Add to Form a Given SumArrayGreedyMedium97% asked
- Minimum Genetic MutationHash TableStringBreadth-First SearchMedium97% asked
- Minimum Number of Steps to Make Two Strings AnagramHash TableStringCountingMedium97% asked
- Multiply StringsMathStringSimulationMedium97% asked
- Number of Black BlocksArrayHash TableEnumerationMedium97% asked
- Number of Connected Components in an Undirected GraphDepth-First SearchBreadth-First SearchUnion-FindGraph TheoryMedium97% asked
- One Edit DistanceTwo PointersStringMedium97% asked
- Pascal's TriangleArrayDynamic ProgrammingEasy97% asked
- Permutation SequenceMathRecursionHard97% asked
- Process Tasks Using ServersArrayHeap (Priority Queue)Medium97% asked
- Rectangles AreaDatabaseMedium97% asked
- Regular Expression MatchingStringDynamic ProgrammingRecursionHard97% asked
- Remove All Occurrences of a SubstringStringStackSimulationMedium97% asked
- Reverse Linked ListLinked ListRecursionEasy97% asked
- The Skyline ProblemArrayDivide and ConquerBinary Indexed TreeSegment TreeHard97% asked
- Time Needed to Buy TicketsArrayQueueSimulationEasy97% asked
- Trapping Rain Water IIArrayBreadth-First SearchHeap (Priority Queue)MatrixHard97% asked
- Tree NodeDatabaseMedium97% asked
- Valid ParenthesesStringStackEasy97% asked
- Validate IP AddressStringMedium97% asked
- Wildcard MatchingStringDynamic ProgrammingGreedyRecursionHard97% asked
- Word Break IIArrayHash TableStringDynamic ProgrammingHard97% asked
- Minimum Cost to Connect SticksArrayGreedyHeap (Priority Queue)Medium86% asked
Practice questions in X's style
Original ZorixOS questions written the way X interviews, so you rehearse the real format. Not claimed as asked at X.
Imagine X is experiencing a sudden surge in user-generated video uploads, causing latency spikes. How would you architect a system to handle this increased load while maintaining low upload times and ensuring video availability?
Software EngineerSystem DesignTests: Evaluates the candidate's ability to design scalable and resilient systems for handling high throughput and real-time data processing, considering factors like caching, load balancing, and distributed storage.A popular feature on X, 'Live Spaces', is experiencing intermittent connection drops for a small but vocal percentage of users. Describe your debugging process, from initial report to identifying the root cause and proposing a solution. What tools and metrics would you leverage?
Software EngineerDebuggingTests: Assesses the candidate's systematic approach to debugging complex, distributed systems and their familiarity with relevant diagnostic tools and techniques.Given X's vast user base, how would you design a rate limiter for the 'Direct Message' feature to prevent abuse while ensuring legitimate users have a smooth experience?
Software EngineerSystem DesignTests: Tests the candidate's understanding of distributed system constraints, specifically concerning API abuse prevention and user experience trade-offs.Describe how you would implement a real-time notification system for new 'Trending Topics' on X, considering factors like fan-out, latency, and resource consumption.
Software EngineerSystem DesignTests: Evaluates the candidate's knowledge of distributed messaging systems, event-driven architectures, and optimizing for low-latency, high-volume data dissemination.How would you approach designing a system to detect and mitigate coordinated inauthentic behavior on X, specifically focusing on the spread of misinformation or spam within 'Communities'?
Software EngineerSystem DesignTests: Assesses the candidate's ability to design complex systems that address security and trust & safety challenges at scale, incorporating aspects of anomaly detection and mitigation.You're tasked with building a feature that allows users to create and share short-form video clips. Outline the core components of this system, from client-side recording to server-side processing and playback. What are the key technical challenges?
Software EngineerSystem DesignTests: Measures the candidate's ability to break down a complex product feature into manageable technical components and identify potential bottlenecks.
71+ more X-style questions are in the free library, each practiceable live with adaptive follow-ups and an honest scorecard. Start free.
Keep exploring
Can you answer these out loud, under X-style follow-ups?
The ZorixOS AI interviewer runs a X-tuned mock interview: it asks these kinds of questions, digs into your answers, and scores you against a real hiring bar. Your first one is free.
Start your X mock interview