Machine Coding Sheet

Twitter Machine Coding Interview

Top low-level design (LLD) and machine coding questions frequently asked in Twitter interviews. Master these to clear the LLD round.

Overall progress

0/104 solved

0%


easy0/18

medium0/45

hard0/41

Infrastructure

0/3 solved

StatusStarProblemDifficultyKey FocusNotes
Distributed ID Generator
Asked by:TwitterMetaMicrosoft+1 more
Medium

Snowflake Strategy, Clock Providers, Resilient Clock-Skew Backoffs, Thread-Safe Bitwise Math

In-Memory Cache (LRU/LFU)
Asked by:RedisLabsAmazonTwitter+1 more
Medium

Strategy Pattern, Generics, Concurrent Read-Write Locks, Eviction Mechanics

Like Count System (Sharded)
Asked by:TwitterMetaByteDance
Medium

Atomic Longs, Sharding

Real-time

0/1 solved

StatusStarProblemDifficultyKey FocusNotes
Live Reactions System
Asked by:MetaByteDanceTwitter+1 more
Hard

Aggregator, High Write Load

Social

0/4 solved

StatusStarProblemDifficultyKey FocusNotes
Follower / Following System
Asked by:MetaTwitterLinkedIn+1 more
Easy

Asymmetric Relation Modeling

Mentions & Tagging System
Asked by:MetaTwitterSlack+1 more
Easy

String Parsing, Notifications

News Feed Ranker
Asked by:MetaByteDanceTwitter+1 more
Medium

Scoring Algorithms

LinkedIn (Social Graph)
Asked by:LinkedInMetaTwitter
Hard

Bidirectional BFS, Strategy Pattern, Observer Pattern, Graph Traversals, Concurrent Graph Nodes