LinkedIn Interview Questions
8 questions · Updated Oct 2026
LinkedIn operates the world's largest professional network and related hiring and learning products. Its interviews focus on graph and feed systems, search/relevance, and scale, alongside behavioral questions tied to its 'members first' and ownership values.
Questions are pooled and anonymized from real interviews; the prep notes are our own - never anyone's actual answers.
- 1
Design the data structures and algorithm to compute a member's degree of connection (1st, 2nd, 3rd) to another member in a graph of hundreds of millions of nodes.
TechnicalModel connections as a huge graph and use bidirectional BFS to bound the search to a few hops, which keeps 2nd/3rd-degree queries tractable. Discuss precomputing/caching a member's network and sharding the graph. LinkedIn's core product is this social graph, so scale-aware graph reasoning is exactly what they probe.
Software Engineer
- 2
Design the system that generates a member's home feed (posts from their network, ranked). How do you handle fan-out, ranking, and freshness at LinkedIn scale?
TechnicalCompare fan-out-on-write vs. fan-out-on-read and the hybrid used for high-degree members, then layer a ranking service over candidate generation. Cover caching, pagination, and freshness vs. cost. LinkedIn wants you to reason about feed architecture and ML ranking as one coherent system.
Software Engineer
- 3
Implement a typeahead/autocomplete service for searching member or company names that returns results in under 100ms. How do you structure and update the index?
TechnicalUse a prefix trie or an inverted index with precomputed top-k suggestions per prefix, ranked by popularity/relevance. Discuss in-memory serving, sharding by prefix, and how to update the index as data changes. LinkedIn's search-heavy product makes low-latency typeahead a realistic and favored topic.
Software Engineer
5 more LinkedIn questions
Create a free account to see every question and how to approach it - plus live answers during your real interview.
Sign up free to see allShow up to your LinkedIn interview ready
InterviewEar listens on a second device and quietly suggests what to say, the moment a question lands - drawing on your resume and the role. Open it beside your call and stay present.
Start free