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 121–150 of 154 results

  • This question tests the ability to define North Star metrics for a social feed and design an experimentation framework that accounts for long-term ecosystem health and cross-side network effects.

    LinkedInData ScientistAnalytics & ExperimentationTechnical Screen
  • Evaluates success measurement for a new LinkedIn B2B SaaS product at account and seat levels. Strong answers define activation, engagement, value, retention, expansion, anomaly analysis, and growth prioritization.

    LinkedInData ScientistAnalytics & ExperimentationOnsite
  • Merge two rooted n-ary trees in which every node has an integer key, combining nodes only when their keys match under matching parents. Tests recursive tree traversal, matching children by key, handling roots with different keys, and producing a canonical preorder encoding of the merged tree.

    LinkedInSoftware EngineerCoding & AlgorithmsTechnical Screen
  • Tests recursive tree manipulation, immutable merging semantics, and robust string serialization/deserialization with input validation.

    LinkedInSoftware EngineerSoftware Engineering FundamentalsTechnical Screen
  • This interview question evaluates algorithm design, data structures, correctness, complexity, edge cases, and implementation details in a realistic interview setting. A strong answer for Minimize adjacent-color assignment cost states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

    LinkedInSoftware EngineerCoding & AlgorithmsTechnical Screen
  • Coding problem: given a list of words and two different target words that both appear in it, return the smallest distance between an index of one word and an index of the other. It tests single-pass scanning with position tracking, handling of repeated occurrences, and time complexity analysis.

    LinkedInSoftware EngineerCoding & AlgorithmsTechnical Screen
  • This Behavioral & Leadership question evaluates leadership, execution planning, cross-functional coordination, resourcing, and stakeholder communication skills in the context of machine learning recommendation product development.

    LinkedInMachine Learning EngineerBehavioral & LeadershipOnsite
  • Analyze course catalog supply and learner participation using time trends, category comparisons, utilization measures, and evidence-based presentation.

    LinkedInData ScientistAnalytics & ExperimentationOnsite
  • Design a collection of strings that allows duplicates and supports insert, remove and a random pick in average constant time, where each stored occurrence is equally likely to be returned. It tests hash map and array layout, index bookkeeping on removal, and how string keys change the cost analysis.

    LinkedInSoftware EngineerSoftware Engineering FundamentalsTechnical Screen
  • Design an auditable staleness-detection and remediation engine for a global job marketplace that aggregates heterogeneous signals, enforces graduated interventions, and supports low-latency employer appeals.

    LinkedInSoftware EngineerSystem DesignTechnical Screen
  • Evaluates interpretation of conflicting A/B test results across cities using Simpson's paradox and stratified estimands. Strong answers check weighting, SRM, heterogeneity, confidence intervals, and rollout criteria.

    LinkedInData ScientistAnalytics & ExperimentationTechnical Screen
  • This question tests your ability to identify and resolve Simpson's Paradox in A/B test results, where an aggregate trend disappears or reverses when segmented by user cohorts.

    LinkedInData ScientistAnalytics & ExperimentationTechnical Screen
  • This question evaluates understanding of linked list data structures and proficiency manipulating pointers or references to perform in-place transformations when reversing a linked list. Commonly asked in Coding & Algorithms interviews, it gauges algorithmic thinking and practical application-level competency in list operations rather than purely conceptual theory.

    LinkedInSoftware EngineerCoding & AlgorithmsOnsite
  • This question evaluates system design competencies such as scalability, reliability, fault tolerance, database architecture, load balancing, external dependency management, and observability, and is categorized under System Design.

    LinkedInSoftware EngineerSystem DesignTechnical Screen
  • This question tests the ability to implement a weighted random sampling algorithm efficiently using prefix sums and binary search to achieve sub-linear query time.

    LinkedInMachine Learning EngineerCoding & AlgorithmsOnsite
  • This question evaluates understanding of continuous probability distributions and geometric random sampling, testing whether a candidate recognizes how area-weighted uniformity differs from naive radial choices.

    LinkedInMachine Learning EngineerCoding & AlgorithmsOnsite
  • Design a distributed, highly available NoSQL key-value store capable of serving 1M QPS across 50 million key-value pairs with low p99 latency.

    LinkedInSoftware EngineerSystem DesignOnsite
  • Given a full binary tournament tree stored in array order, where each internal node holds the smaller of its two children, return the second-smallest leaf value in logarithmic time. It tests reasoning about how a knockout structure constrains where the runner-up can be, array-based tree indexing, and justifying a partial search.

    LinkedInSoftware EngineerCoding & AlgorithmsTechnical Screen
  • Return the shortest substring of a string that contains every character of a pattern with matching multiplicity, case-sensitively, choosing the leftmost substring on ties and an empty string when none exists. Tests efficient substring search and careful character-count bookkeeping.

    LinkedInSoftware EngineerCoding & AlgorithmsOther
  • Tests designing an inverted index and using two-pointer or binary search techniques to efficiently compute the minimum absolute index distance between word occurrences across repeated queries.

    LinkedInSoftware EngineerCoding & AlgorithmsTechnical Screen
  • Evaluates queueing-system reasoning for single-line versus multiple-line bank teller designs. Strong answers compare M/M/c pooling with parallel M/M/1 queues, waiting-time averages, variance, stability, fairness, and operations.

    LinkedInData ScientistAnalytics & ExperimentationOnsite
  • This question evaluates competency in advanced data structures and algorithmic techniques—specifically frequency-based cache design, sliding-window substring search, and heap-driven k-pair generation—along with time and space complexity analysis and robust edge-case handling.

    LinkedInSoftware EngineerCoding & AlgorithmsOnsite
  • Assesses core string and array manipulation skills by requiring string reversal and contiguous-subarray computations for maximum sum and maximum product, identified under the Coding & Algorithms category.

    LinkedInSoftware EngineerCoding & AlgorithmsTechnical Screen
  • This question evaluates understanding of string algorithms, frequency-based sliding window techniques and hashmap/graph-based conflict detection, focusing on minimal substring search and modeling pairwise exclusions.

    LinkedInSoftware EngineerCoding & AlgorithmsOnsite
  • This multi-part question evaluates algorithmic problem solving, data-structure selection, complexity analysis, API design, and the handling of trees, arrays, grids, circular structures, and dynamic updates.

    LinkedInSoftware EngineerCoding & AlgorithmsOnsite
  • This problem tests your ability to solve a sliding window string problem followed by a heap-based retrieval task for ranked items.

    LinkedInSoftware EngineerCoding & AlgorithmsOnsite
  • Given an integer array sorted in ascending order and the coefficients of a quadratic function, apply the function to every element and return the results in sorted order in linear time. Tests reasoning about the shape of a parabola, handling of positive, negative and zero leading coefficients, and duplicate values.

    LinkedInMachine Learning EngineerCoding & AlgorithmsTechnical Screen
  • Compute the sum of all elements of an array with any number of dimensions when the array exposes only its dimension sizes and a get method that reads one element from a full list of indices. It tests systematic enumeration of every index combination and exact handling of sums beyond the 32-bit range.

    LinkedInMachine Learning EngineerCoding & AlgorithmsTechnical Screen
  • Evaluates hypothesis testing for whether users' first video uploads are shorter than later uploads. Strong answers define a clean data slice, paired user-level metrics, robust tests, and SQL-style implementation.

    LinkedInData ScientistAnalytics & ExperimentationTechnical Screen
  • Design a feature launch experiment that separates natural-placement availability, discoverability, promotional exposure, and downstream product value.

    LinkedInData ScientistAnalytics & ExperimentationOnsite

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