Company
LinkedIn interview questions
154 practice questions in the style of LinkedIn's interviews, covering Analytics & Experimentation, Data Manipulation (SQL/Python), Coding & Algorithms, Machine Learning, System Design, Statistics & Math, Behavioral & Leadership, ML System Design, Software Engineering Fundamentals.
21 easy115 medium18 hard
LinkedIn interview questions by the numbers
Last updated
Katkat has 154 LinkedIn interview questions. The largest topics are Coding & Algorithms (40%), System Design (19%) and Analytics & Experimentation (10%). By difficulty: 14% easy, 75% medium and 12% hard. The most common round is Onsite (49%). Frequent concepts include System Design, Algorithms, Distributed Systems and Optimization.
Topics
- Coding & Algorithms40% · 61
- System Design19% · 30
- Analytics & Experimentation10% · 16
- Behavioral & Leadership8% · 13
- Machine Learning5% · 8
- Statistics & Math5% · 7
- ML System Design4% · 6
Difficulty
- Easy14% · 21
- Medium75% · 115
- Hard12% · 18
Interview rounds
- Onsite49% · 76
- Technical Screen47% · 73
- Other2% · 3
- HR Screen1% · 2
Roles
- Software Engineer58% · 90
- Data Scientist23% · 35
- Machine Learning Engineer16% · 25
- DevOps Engineer2% · 3
- Data Engineer1% · 1
Frequent concepts
- System Design8% · 13
- Algorithms8% · 12
- Distributed Systems5% · 8
- Optimization4% · 6
- Streaming3% · 5
- Arrays3% · 4
Most mentioned in interview experiences
- 1.Compare queueing systems and common distributions2 reports
- 2.Design a Distributed Key-Value Store for a Small Company's Internal Use2 reports
- 3.Discuss Projects and Tradeoffs2 reports
- 4.Explain a Difficult Technical Decision and Its Implementation2 reports
- 5.Explain a past project and critique a prior team2 reports
- 6.Explain a Project with a Diagram and Deep Dive into Your Design2 reports
- 7.Shortest Substring Containing Every Character of a Pattern2 reports
- 8.Single Queue vs Multiple Queues — Service Design2 reports
- 9.Analyze homepage drop and feed ranking1 report
- 10.Answer practical ML foundations questions1 report
Counted from 22 candidate interview experiences on Katkat. How we collect and count
Showing 91–120 of 154 results
Given a binary search tree described by its preorder traversal, a real-valued target and an integer k, return the k node values closest to the target in ascending order, breaking distance ties toward the smaller value. Tests binary search tree traversal, reasoning over ordered data and precise tie handling.
LinkedInSoftware EngineerCoding & AlgorithmsOnsiteFind binary-tree depth from a portable child-index representation, including empty trees and highly unbalanced root-to-leaf paths.
LinkedInSoftware EngineerCoding & AlgorithmsOnsiteThis problem tests your ability to model a road network as a graph and compute the shortest distance from a source node to any target node in a set using a Breadth-First Search (BFS) approach.
LinkedInDevOps EngineerCoding & AlgorithmsOnsiteTwo singly linked lists stored in one successor array may merge at some node and share every node after it. Given both heads, return the first shared node, or -1 if the lists never meet. It tests linked-list traversal and careful handling of cases such as one list starting inside the other.
LinkedInSoftware EngineerCoding & AlgorithmsTechnical ScreenThis question evaluates proficiency with selection algorithms, array manipulation, and analysis of time and space complexity, reflecting competency in order-statistics and basic data structures.
LinkedInSoftware EngineerCoding & AlgorithmsOnsiteGiven a list of up to eight integers that may contain duplicates, return every distinct permutation exactly once, sorted in lexicographic order. It tests systematic enumeration, avoiding duplicate results caused by equal values, and producing a deterministic output order.
LinkedInSoftware EngineerCoding & AlgorithmsTechnical ScreenThis question evaluates understanding of randomized algorithms, probability theory, and techniques for extracting uniform randomness from a biased source.
LinkedInMachine Learning EngineerCoding & AlgorithmsOnsiteThis question evaluates leadership, cross-functional communication, incident management, and knowledge-transfer competencies by probing how a candidate resolves stakeholder disagreements and explains team-owned systems.
LinkedInSoftware EngineerBehavioral & LeadershipOnsiteThis question tests your ability to design a robust machine learning pipeline for a highly imbalanced classification task, focusing on sampling strategies, metric selection, and regularization techniques to prevent overfitting.
LinkedInData ScientistMachine LearningTechnical ScreenThis question tests the implementation of Reservoir Sampling to maintain a uniform random sample of size k from a stream of unknown or infinite length.
LinkedInData ScientistCoding & AlgorithmsTechnical ScreenThis question evaluates leadership, stakeholder management, and team resiliency competencies by probing experience in securing project buy-in and in preventing single-point-of-failure through knowledge sharing, documentation, and ownership distribution.
LinkedInSoftware EngineerBehavioral & LeadershipTechnical ScreenThis question evaluates competency in causal reasoning, statistical inference, experimental design, and detection of Simpson's paradox within the Analytics & Experimentation domain.
LinkedInData ScientistAnalytics & ExperimentationTechnical ScreenThis problem tests your ability to diagnose an unexplained drop in engagement metrics by decomposing a complex user funnel, isolating root causes using multidimensional data, and designing a robust validation framework.
LinkedInData ScientistAnalytics & ExperimentationTechnical ScreenThis question evaluates leadership and technical execution competencies for a data scientist in a tech lead role, including work planning, delegation, accountability, stakeholder communication, root-cause diagnosis of product quality issues, metric definition, and delivering projects with measurable impact.
LinkedInData ScientistBehavioral & LeadershipTechnical ScreenThis problem tests your ability to implement the exponentiation by squaring algorithm while correctly handling edge cases like negative exponents and integer overflow.
LinkedInSoftware EngineerCoding & AlgorithmsOnsiteThis problem tests the implementation of the K-means clustering algorithm from scratch, requiring an understanding of the iterative refinement process, distance metrics, and the underlying mathematical objective.
LinkedInMachine Learning EngineerCoding & AlgorithmsTechnical ScreenTests the ability to structure an end-to-end, leakage-resistant training pipeline for a text-embedding recommender, covering profile flattening, embedding caching, temporal splits, binary classification, and artifact serialization.
LinkedInMachine Learning EngineerMachine LearningTechnical ScreenThis question evaluates understanding of data structures and algorithmic complexity, focusing on designing a stack variant that supports efficient retrieval and removal of the current maximum while preserving stack behavior.
LinkedInData EngineerCoding & AlgorithmsTechnical ScreenThis problem tests your ability to process a stream of events with time-based constraints, requiring an efficient sliding-window approach and the use of monotonic data structures for spike detection.
LinkedInMachine Learning EngineerCoding & AlgorithmsOnsiteThis question evaluates understanding of core data structures and algorithms for designing an efficient LRU cache as well as knowledge of concurrency and synchronization for thread-safe access.
LinkedInSoftware EngineerCoding & AlgorithmsOnsiteThis question evaluates understanding of probabilistic algorithm design, numerical stability, and efficient data-structure implementation for constant-time sampling from categorical distributions.
LinkedInData ScientistCoding & AlgorithmsTechnical ScreenThis question evaluates a candidate's skills in vanilla JavaScript utility implementation and DOM rendering, covering array and plain-object iteration semantics, higher-order functions, input validation, error handling, and safe text rendering for browser environments.
LinkedInSoftware EngineerSoftware Engineering FundamentalsHR ScreenThis question evaluates understanding of streaming algorithms, uniform random sampling, and probabilistic guarantees for maintaining a fixed-size sample from an unbounded data stream (reservoir-sampling concepts).
LinkedInData ScientistCoding & AlgorithmsTechnical ScreenEvaluates analytics and experimentation strategy for improving LinkedIn profile completion. Strong answers define value-weighted completion metrics, segment gaps, prioritize interventions, and test impact with guardrails.
LinkedInData ScientistAnalytics & ExperimentationOnsiteThis question evaluates communication, leadership, self-awareness, and the ability to concisely articulate technical impact, trade-offs, and measurable outcomes.
LinkedInSoftware EngineerBehavioral & LeadershipHR ScreenGiven an integer array, return the largest sum of any non-empty contiguous subarray, including arrays in which every number is negative. This classic phone-screen problem tests efficient array processing and careful handling of edge cases such as all-negative input.
LinkedInSoftware EngineerCoding & AlgorithmsOnsiteGiven n labeled nodes and directed precedence edges, return an ordering that respects every edge, choosing the lexicographically smallest valid ordering, or an empty list when a cycle makes ordering impossible. It tests topological sorting, cycle detection and deterministic tie-breaking.
LinkedInSoftware EngineerCoding & AlgorithmsOnsiteThis problem tests your ability to manage a sliding window with a flexible constraint, specifically counting zeros to determine the maximum length of a sequence after a single modification.
LinkedInSoftware EngineerCoding & AlgorithmsTechnical ScreenGiven an integer array that may contain negative numbers and zeros, return the largest product of any non-empty contiguous subarray. The problem tests careful reasoning about sign changes, zeros and single-element subarrays under tight input-size limits.
LinkedInSoftware EngineerCoding & AlgorithmsOnsiteLinkedIn causal inference prompt on measuring a self-selected app redesign, covering potential outcomes, ATT, propensity matching or weighting, staggered difference-in-differences, event studies, covariates, balance, and pre-trend validation.
LinkedInData ScientistStatistics & MathOnsite
LinkedIn interview experiences
All 26 →- Debugging Logistic Regression, Then Job Click Prediction DesignLinkedIn · Machine Learning Engineer · Senior+ · Technical Screen · Oct 2026
The first part was 30 minutes of debugging a logistic regression implementation. I spent too much time on the sigmoid derivative at the start, so I didn't finish the last step, computing the gradients. Then came 20 minutes of ML design: Predict whether a member will click on a displayed job using member features, job content, and interaction history. I had to define everything myself: what data i…
- Five Back-to-Back Rounds After a Layoff, Offer Within WeeksLinkedIn · Software Engineer · Onsite · Oct 2026Offer
A layoff recently pushed me to start job hunting. A LinkedIn recruiter reached out in the second week of August. The phone screen happened the week after that. About a week later I got a call to set up the next stage, and the recruiter gave me two weeks to get ready for the full loop. They offered either a virtual or an in-person loop and I went virtual. I would have liked a gap of two or three d…
- Phone Screen with Two Easy Questions, Onsite Invite a Week LaterLinkedIn · Software Engineer · Technical Screen · Oct 2026In progress
I mass-applied to a position at the end of September, and also asked a person or two for referrals. The strange thing is that the referrals all went nowhere, and the one I applied to cold is the one that moved forward to an interview. The interviewer was pretty laid-back, maybe it's the company culture. They asked me what times I could interview, then disappeared for three or four days. Eventuall…
- A Five-Round IC2 Loop With an AI/Coding RoundLinkedIn · Software Engineer · Onsite · Sep 2026
Elimination Round Maximum Depth of Binary Tree Zigzag Level Order Traversal Round 1 – DSA Max Points on a Line / Max Collinear Points Minimum Length Substring Round 2 – AI + Coding LRU Cache with Counters Given different workloads, predict and calculate the cache's hit/miss ratio. This round required combining coding with reasoning about AI/system behavior. Round 3 – Hiring Manager Behavioral int…
- An Ambiguous Recommender Training TaskLinkedIn · Machine Learning Engineer · Technical Screen · Sep 2026Rejected
This was a very strange interview experience. It was the interviewer's first time interviewing, and she asked me to handwrite a binary-classification machine learning loader and trainer. The data was not a real dataset, so I could not write code that would actually run. She asked for pseudocode but did not explain what level of detail she wanted. She also did not clarify what the model was suppos…
More companies
- Meta666
- Amazon653
- Google486
- OpenAI342
- Capital One268
- Microsoft252
- DoorDash241
- Anthropic225
- Uber217
- Apple177
- TikTok176
- Pinterest161
- ByteDance160
- Stripe139
- Snowflake130
- Databricks122
- Airbnb112
- Rippling106
- Oracle104
- Coinbase99
- Netflix97
- NVIDIA95
- Snapchat94
- Citadel90
- Waymo90
- Instacart87
- Roblox84
- Salesforce77
- Optiver76
- Shopify63
- Robinhood60
- Atlassian55
- Hudson River Trading55
- Two Sigma55
- J.P. Morgan53
- PayPal53
- xAI53
- Lyft52
- Tesla52
- Other51
