LinkedIn Coding Interview Questions

We track 163 coding questions asked at LinkedIn, tagged with the algorithms and concepts they test. The most common: Array, String, Hash Table, Math, Depth-First Search.

Browse all 163 LinkedIn questions →

Concept mix

Each question's weight is split evenly across its concepts, so the shares sum to 100%.

How many questions involve each concept

Share of all 163 tracked LinkedIn questions that touch each concept. Questions usually involve several, so these overlap.

Where LinkedIn differs from the average company

Concept weight at LinkedIn relative to the average across all companies we track. Green means LinkedIn leans on it harder than most.

LinkedIn specialties

Concepts that show up at LinkedIn but are rarely asked elsewhere. They are easy to get blindsided by.

Difficulty mix

Level split of the 163 tracked LinkedIn questions.

  • Junior17% (27)
  • Mid/Senior63% (103)
  • Staff20% (33)

Every concept in LinkedIn interviews

ConceptQuestions% of questionsShare of mix
Array7042.9%16.2%
String3622.1%8.3%
Hash Table3320.2%6.0%
Math2515.3%6.2%
Depth-First Search2414.7%3.9%
Dynamic Programming2414.7%5.4%
Breadth-First Search2213.5%3.7%
Tree2012.3%3.6%
Binary Tree1911.7%3.5%
Two Pointers1710.4%3.7%
Binary Search159.2%3.9%
Sorting148.6%2.3%
Stack148.6%3.1%
Design127.4%2.0%
Linked List127.4%2.7%
Greedy106.1%1.8%
Heap (Priority Queue)106.1%1.8%
Backtracking95.5%2.1%
Matrix74.3%1.2%
Prefix Sum74.3%1.4%
Sliding Window74.3%1.3%
Union-Find74.3%1.1%
Binary Search Tree63.7%1.1%
Divide and Conquer53.1%0.9%
Graph Theory53.1%0.8%
Memoization53.1%0.6%
Randomized53.1%0.7%
Recursion53.1%1.4%
Bit Manipulation42.5%0.5%
Doubly-Linked List42.5%0.7%
Simulation42.5%0.9%
Counting31.8%0.4%
Monotonic Stack31.8%0.6%
Topological Sort31.8%0.4%
Bitmask21.2%0.2%
Geometry21.2%0.3%
Hash Function21.2%0.2%
Iterator21.2%0.2%
Number Theory21.2%0.3%
Queue21.2%0.3%
Quickselect21.2%0.2%
Segment Tree21.2%0.4%
Brainteaser10.6%0.3%
Combinatorics10.6%0.2%
Concurrency10.6%0.7%
Counting Sort10.6%0.2%
Database10.6%0.7%
Enumeration10.6%0.2%
Game Theory10.6%0.1%
Merge Sort10.6%0.2%
Ordered Set10.6%0.2%
Probability and Statistics10.6%0.2%
Rejection Sampling10.6%0.2%
Rolling Hash10.6%0.1%
String Matching10.6%0.2%
Trie10.6%0.1%

Practice a LinkedIn interview

Take a realistic AI-led mock interview with questions LinkedIn actually asks, with live voice and real feedback.

Start a mock interview

Your first interview is free · no credit card required