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 1–30 of 154 results

  • This question evaluates a candidate's competency in product analytics, causal diagnosis, instrumentation and logging validation, segmentation and cohort analysis, and experimental design for feed ranking and user-path behavior.

    LinkedInData ScientistAnalytics & ExperimentationTechnical Screen
  • A LinkedIn data scientist technical-screen question on member video-posting behavior using two relational tables. It tests joins, first-event derivation with MIN/GROUP BY, conditional grouping for US vs non-US comparison, and distinct-member counts per country with a length filter.

    LinkedInData ScientistData Manipulation (SQL/Python)Technical Screen
  • Design a data structure that preprocesses a list of words to efficiently answer repeated queries for the shortest index distance between two distinct words.

    LinkedInSoftware EngineerCoding & AlgorithmsTechnical Screen
  • This question evaluates an interviewee's practical mastery of ML foundations, covering probability calibration and its evaluation, feature selection methods including neural-network approaches, tokenizer types and trade-offs in NLP, and optimizer behavior such as Adam's maintained statistics.

    LinkedInMachine Learning EngineerMachine LearningOnsite
  • Tests custom sorting logic and string manipulation to arrange a list of nonnegative integers into the lexicographically largest combined numerical string.

    LinkedInSoftware EngineerCoding & AlgorithmsTechnical Screen
  • Design gateway IP-block enforcement with trusted client addresses, versioned rules, fast local checks, expiration, and multi-data-center propagation.

    LinkedInSoftware EngineerSystem DesignOnsite
  • This problem tests your ability to handle greedy array traversal while maintaining specific adjacency constraints, requiring careful management of boundary indices.

    LinkedInSoftware EngineerCoding & AlgorithmsTechnical Screen
  • Write a function that decides whether a string is a valid plain decimal number with an optional sign and fractional part, rejecting exponents, stray symbols, and repeated decimal points. It tests turning a small grammar into careful character-by-character validation and covering edge cases such as empty strings and bare signs.

    LinkedInSoftware EngineerCoding & AlgorithmsTechnical Screen
  • This question tests your ability to apply basic queueing theory to compare waiting times and your ability to reason about how distributional shape affects central tendency measures.

    LinkedInData ScientistStatistics & MathTechnical Screen
  • Design a scalable user activity ingestion and querying system capable of computing metrics over rolling time windows (1 minute, 1 hour, 24 hours) with deduplication and late-arriving event handling.

    LinkedInSoftware EngineerSystem DesignOnsite
  • This question evaluates understanding of memory management concepts including stack versus heap allocation, object lifetimes, allocation and free behavior, access patterns, performance characteristics, and thread visibility within the Coding & Algorithms domain.

    LinkedInSoftware EngineerCoding & AlgorithmsTechnical Screen
  • LinkedIn data scientist statistics screen covering pooled versus separate queues, height distributions and mixture distributions, right-skewed network degree, mean-median-mode ordering, and L1/L2 regularization bias.

    LinkedInData ScientistStatistics & MathTechnical Screen
  • A LinkedIn data scientist SQL screen: given an end-of-January notification-status snapshot and a February log of turn_on/turn_off actions, compute each member's current status as of 2020-02-29, keeping members from either table. Follow-ups explore reconstructing state when the action log has no date column — unsolvable in general, but recoverable via action-count parity when every action is a guaranteed valid transition.

    LinkedInData ScientistData Manipulation (SQL/Python)Technical Screen
  • This problem tests your ability to model a directed dependency graph and perform reachability analysis to identify all downstream services affected by a change in a root service.

    LinkedInSoftware EngineerCoding & AlgorithmsOnsite
  • This problem tests your ability to apply vector projections and geometric constraints to find the shortest distance from a point to a line segment in a 2D plane.

    LinkedInMachine Learning EngineerCoding & AlgorithmsTechnical Screen
  • Compute total covered interval length evaluates algorithm design, data structures, correctness, complexity, edge cases, and implementation details in a realistic interview setting. A strong answer states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

    LinkedInMachine Learning EngineerCoding & AlgorithmsTechnical Screen
  • Count Article Types Viewed evaluates SQL or pandas logic, joins, grouping, window functions, null handling, edge cases, and validation in a realistic interview setting. A strong answer states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

    LinkedInData ScientistData Manipulation (SQL/Python)Technical Screen
  • This problem tests your ability to optimize search operations in a sorted array by using binary search to skip redundant elements, achieving sub-linear time complexity relative to the total array size.

    LinkedInSoftware EngineerCoding & AlgorithmsOnsite
  • Count the non-empty subsequences of an integer array whose minimum plus maximum is at most a target, returning the count modulo 10^9 + 7. Tests combinatorial counting, careful handling of duplicate values chosen by index, and modular arithmetic for very large totals.

    LinkedInSoftware EngineerCoding & AlgorithmsOther
  • This question evaluates understanding of grid traversal and graph connectivity concepts, focusing on modeling a 2D matrix as adjacency relationships within the coding and algorithms domain.

    LinkedInSoftware EngineerCoding & AlgorithmsOnsite
  • This question evaluates a candidate's understanding of grid-based graph traversal and connected-component detection, along with the ability to recognize and canonicalize distinct island shapes.

    LinkedInSoftware EngineerCoding & AlgorithmsOnsite
  • Tests array traversal, sliding window techniques, and handling wrap-around logic in circular data structures with edge cases.

    LinkedInSoftware EngineerCoding & AlgorithmsOnsite
  • This question evaluates mastery of probability theory and stochastic processes, specifically expectation and variance calculations, Markov-chain or recurrence reasoning, and pattern waiting times in Bernoulli trials relevant for a Data Scientist role.

    LinkedInData ScientistStatistics & MathTechnical Screen
  • This question tests your ability to derive the expected value and variance of the sample mean for a sequence of random variables, accounting for the effect of correlation between them.

    LinkedInData ScientistStatistics & MathTechnical Screen
  • Describe challenging teamwork and feedback handling evaluates behavioral evidence, ownership, communication, trade-offs, and measurable outcomes in a realistic interview setting. A strong answer states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

    LinkedInSoftware EngineerBehavioral & LeadershipOnsite
  • This interview question evaluates behavioral evidence, ownership, communication, trade-offs, and measurable outcomes in a realistic interview setting. A strong answer for Describe leading an infrastructure initiative states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

    LinkedInSoftware EngineerBehavioral & LeadershipOnsite
  • Evaluates experiment design for concurrent email and in-product messaging launches with possible interaction effects. Strong answers use factorial designs, power calculations, interaction terms, sequential testing, and guardrails.

    LinkedInData ScientistAnalytics & ExperimentationOnsite
  • A system design question on keyword search over social posts: find the posts that contain a keyword without scanning them all, support queries that require one keyword and exclude another, and order results by how often the keywords appear. Tests indexing, query evaluation, sharding, pagination and ranking trade-offs.

    LinkedInSoftware EngineerSystem DesignOnsite
  • The question evaluates proficiency in end-to-end machine learning system design, covering feature engineering from job post text, candidate generation and ranking, model training and labeling, evaluation metrics, and production concerns such as cold start, bias, and feedback loops.

    LinkedInMachine Learning EngineerML System DesignOnsite
  • This problem tests your ability to design a data structure that supports efficient insertion, deletion, and uniform random sampling by combining dynamic arrays with hash maps to achieve constant time complexity.

    LinkedInSoftware EngineerCoding & AlgorithmsTechnical Screen

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