Coding interview questions

LinkedIn Coding Interview Questions (DSA)

The 23 DSA problems LinkedIn has asked most in the last six months, most-asked first. 23 of them have a full breakdown with diagrams and code. Tick them off as you go.

Practice a LinkedIn interview with me

I'm Alex. I'll pick 2 problems from LinkedIn's list at your level and interview you like a real LinkedIn round.

23problems
23full breakdowns
34topics

By difficulty: Easy (3) · Medium (14) · Hard (6)

Start LinkedIn Mock Interview→

Topics

272.Closest Binary Search Tree Value II
Full breakdownTwo PointersStackTree
17.Letter Combinations of a Phone Number
Full breakdownHash TableStringBacktracking
Medium+1▶ Mock
20.Valid Parentheses
Full breakdownStringStackBracket Sequences
Easy+3▶ Mock
53.Maximum Subarray
Full breakdownArrayDivide and ConquerDynamic Programming
Medium+7▶ Mock
605.Can Place Flowers
Full breakdownArrayGreedy
364.Nested List Weight Sum II
Full breakdownStackDepth-First SearchBreadth-First Search
Medium▶ Mock
380.Insert Delete GetRandom O(1)
Full breakdownArrayHash TableMath
Medium▶ Mock
152.Maximum Product Subarray
Full breakdownArrayDynamic Programming
Medium+4▶ Mock
200.Number of Islands
Full breakdownArrayDepth-First SearchBreadth-First Search
Medium+7▶ Mock
716.Max Stack
Full breakdownLinked ListStackDesign
244.Shortest Word Distance II
Full breakdownArrayHash TableTwo Pointers
Medium▶ Mock
319.Bulb Switcher
Full breakdownMathBrainteaser
Medium▶ Mock
104.Maximum Depth of Binary Tree
Full breakdownTreeDepth-First SearchBreadth-First Search
Easy+4▶ Mock
528.Random Pick with Weight
Full breakdownArrayMathBinary Search
Medium▶ Mock
215.Kth Largest Element in an Array
Full breakdownArrayDivide and ConquerSorting
Medium▶ Mock
33.Search in Rotated Sorted Array
Full breakdownArrayBinary Search
Medium+5▶ Mock
65.Valid Number
Full breakdownString
3.Longest Substring Without Repeating Characters
Full breakdownHash TableStringSliding Window
Medium+13▶ Mock
1297.Maximum Number of Occurrences of a Substring
Full breakdownHash TableStringSliding Window
Medium▶ Mock
3367.Maximize Sum of Weights after Edge Removals
Full breakdownDynamic ProgrammingTreeDepth-First Search
56.Merge Intervals
Full breakdownArraySortingQuicksort
Medium+14▶ Mock
149.Max Points on a Line
Full breakdownArrayHash TableMath

Frequently Asked Questions

What questions does LinkedIn ask in coding interviews?

LinkedIn coding interviews focus on Array, Backtracking, Binary Search, Binary Search Tree, and other data structure problems. We compiled 23 questions from real LinkedIn interviews. The most common topics are Array, Backtracking, Binary Search, Binary Search Tree, Binary Tree. Filter by topic to see what comes up most often.

How many LinkedIn coding interview questions are there?

InterviewSkool has 23 LinkedIn coding interview questions: 3 Easy, 14 Medium, and 6 Hard. Most LinkedIn interviews focus on Medium-difficulty problems, so prioritize those in your prep.

How should I prepare for LinkedIn coding interviews?

Start with Medium difficulty problems. Group by topic (Array, Tree, DP) to build pattern recognition. Aim to solve 30 to 40 problems before your interview. Then practice under pressure with a mock interview.

Are LinkedIn coding interview questions free?

Yes. All 23 LinkedIn coding interview questions are free to browse with no sign-up required. You can filter by difficulty and topic tags. Start a mock interview with a free credit to practice under real pressure.

Practice with a Mock Interview

Simulate real LinkedIn interview pressure with our AI interviewer.

Start Mock Interview →