Katkat

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.

Questions154

21 easy115 medium18 hard

Your progress0/154

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.

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

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 & AlgorithmsOnsite
  • Find binary-tree depth from a portable child-index representation, including empty trees and highly unbalanced root-to-leaf paths.

    LinkedInSoftware EngineerCoding & AlgorithmsOnsite
  • This 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 & AlgorithmsOnsite
  • Two 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 Screen
  • This 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 & AlgorithmsOnsite
  • Given 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 Screen
  • This question evaluates understanding of randomized algorithms, probability theory, and techniques for extracting uniform randomness from a biased source.

    LinkedInMachine Learning EngineerCoding & AlgorithmsOnsite
  • This 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 & LeadershipOnsite
  • This 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 Screen
  • This 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 Screen
  • This 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 Screen
  • This question evaluates competency in causal reasoning, statistical inference, experimental design, and detection of Simpson's paradox within the Analytics & Experimentation domain.

    LinkedInData ScientistAnalytics & ExperimentationTechnical Screen
  • This 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 Screen
  • This 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 Screen
  • This problem tests your ability to implement the exponentiation by squaring algorithm while correctly handling edge cases like negative exponents and integer overflow.

    LinkedInSoftware EngineerCoding & AlgorithmsOnsite
  • This 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 Screen
  • Tests 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 Screen
  • This 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 Screen
  • This 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 & AlgorithmsOnsite
  • This 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 & AlgorithmsOnsite
  • This question evaluates understanding of probabilistic algorithm design, numerical stability, and efficient data-structure implementation for constant-time sampling from categorical distributions.

    LinkedInData ScientistCoding & AlgorithmsTechnical Screen
  • This 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 Screen
  • This 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 Screen
  • Evaluates 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 & ExperimentationOnsite
  • This question evaluates communication, leadership, self-awareness, and the ability to concisely articulate technical impact, trade-offs, and measurable outcomes.

    LinkedInSoftware EngineerBehavioral & LeadershipHR Screen
  • Given 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 & AlgorithmsOnsite
  • Given 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 & AlgorithmsOnsite
  • This 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 Screen
  • Given 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 & AlgorithmsOnsite
  • LinkedIn 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 2026
    Offer

    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 2026
    In 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 2026
    Rejected

    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