Linkedin Intermediate Coding Interview Questions
59 intermediate coding problems are tagged as asked at Linkedin in interviews and online assessments reported by candidates. By difficulty they split into 0 basic, 59 intermediate and 0 advanced. The topics they most often combine with are Array, String, Hash Table, Sorting.
Reported questions change over time and are not a guarantee of what you will be asked, so use the list to see which patterns Linkedin tends to test. For each problem, practise explaining your approach, its time and space cost and the edge cases before you write the code; every problem opens in an editor that runs your code against test cases.
Coding problems
- Maximum Subarray (Intermediate)
- Longest Substring Without Repeats (Intermediate)
- Product of Array Except Self (Intermediate)
- House Robber (Intermediate)
- Kth Largest Element (Intermediate)
- Longest Consecutive Sequence (Intermediate)
- Subarray Sum Equals K (Intermediate)
- Longest Palindromic Substring (Intermediate)
- Integer to Roman (Intermediate)
- Reverse Integer (Intermediate)
- Minimum in a Rotated Sorted Array (Intermediate)
- Merge Intervals (Intermediate)
- Insert an Interval (Intermediate)
- Partition Labels (Intermediate)
- Count Palindromic Substrings (Intermediate)
- Find K Closest Elements (Intermediate)
- Minimum Knight Moves (Intermediate)
- Maximum Product Subarray (Intermediate)
- Subarray Sum Equals K (Intermediate)
- House Robber II (Intermediate)
- Longest Palindromic Subsequence (Intermediate)
- Is Bipartite (Intermediate)
- Course Schedule Feasible (Intermediate)
- LFU Cache Operations (Intermediate)
- Sparse Vector Dot Product (Intermediate)
- Text Justification (Intermediate)
- Reorder Linked List (Intermediate)
- Validate Binary Search Tree (Intermediate)
- Kth Smallest Value in a BST (Intermediate)
- Zigzag Level Order Traversal (Intermediate)
- Lowest Common Ancestor of Two Values (Intermediate)
- Delete Node in a BST (Intermediate)
- Find Leaves of Binary Tree (Intermediate)
- Graph Valid Tree (Intermediate)
- Rotting Oranges (Intermediate)
- Course Schedule Order (Intermediate)
- Open the Lock (Intermediate)
- Longest String Chain (Intermediate)
- Evaluate Reverse Polish Notation (Intermediate)
- Validate Stack Sequences (Intermediate)
- Exclusive Time of Functions (Intermediate)
- K Closest Points to Origin (Intermediate)
- Task Scheduler (Intermediate)
- Find K Pairs With Smallest Sums (Intermediate)
- Valid Sudoku (Intermediate)
- H-Index (Intermediate)
- Find First and Last Position (Intermediate)
- Search in Rotated Sorted Array II (Intermediate)
- Convert to Base -2 (Intermediate)
- Bulb Switcher (Intermediate)
- Combination Sum (Intermediate)
- Combination Sum II (Intermediate)
- Letter Combinations of a Phone Number (Intermediate)
- Binary Tree Upside Down (Intermediate)
- Create Binary Tree From Descriptions (Intermediate)
- Repeated DNA Sequences (Intermediate)
- Valid Triangle Number (Intermediate)
- Sort Transformed Array (Intermediate)
- Minimum Deletions to Make Array Divisible (Intermediate)
Related
Frequently asked questions
How should I use the Linkedin problem list?
Start with the basic problems, then the intermediate and advanced ones, and note which topics repeat. Solve each under a timer, then read the explanation.
Are these the exact Linkedin interview questions?
They are problems candidates reported being asked. Companies rotate questions, so use them to learn the patterns, not to predict the exact question.