Linkedin Array Coding Interview Questions
44 array coding problems are tagged as asked at Linkedin in interviews and online assessments reported by candidates. By difficulty they split into 6 basic, 31 intermediate and 7 advanced. The topics they most often combine with are Hash Table, Sorting, Sliding Window, Greedy.
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
- Two Sum (Basic)
- Best Time to Buy and Sell Stock (Basic)
- Maximum Subarray (Intermediate)
- Product of Array Except Self (Intermediate)
- House Robber (Intermediate)
- Kth Largest Element (Intermediate)
- Longest Consecutive Sequence (Intermediate)
- Subarray Sum Equals K (Intermediate)
- Largest Rectangle in Histogram (Advanced)
- Search in a Rotated Sorted Array (Advanced)
- Minimum in a Rotated Sorted Array (Intermediate)
- Merge Intervals (Intermediate)
- Insert an Interval (Intermediate)
- Find K Closest Elements (Intermediate)
- Maximum Product Subarray (Intermediate)
- Subarray Sum Equals K (Intermediate)
- House Robber II (Intermediate)
- Number of Connected Components (Basic)
- Is Bipartite (Intermediate)
- Course Schedule Feasible (Intermediate)
- LRU Cache Operations (Basic)
- LFU Cache Operations (Intermediate)
- Sparse Vector Dot Product (Intermediate)
- Graph Valid Tree (Intermediate)
- Course Schedule Order (Intermediate)
- Largest Color Value in a Directed Graph (Advanced)
- Min Stack Operations (Basic)
- Validate Stack Sequences (Intermediate)
- Number of Visible People in a Queue (Advanced)
- K Closest Points to Origin (Intermediate)
- Find K Pairs With Smallest Sums (Intermediate)
- Process Tasks Using Servers (Advanced)
- H-Index (Intermediate)
- Find First and Last Position (Intermediate)
- Search in Rotated Sorted Array II (Intermediate)
- Combination Sum (Intermediate)
- Combination Sum II (Intermediate)
- Design HashMap (Basic)
- Max Points on a Line (Advanced)
- Create Binary Tree From Descriptions (Intermediate)
- Paint House III (Advanced)
- Valid Triangle Number (Intermediate)
- Sort Transformed Array (Intermediate)
- Minimum Deletions to Make Array Divisible (Intermediate)
Related
- Linkedin coding interview questions
- Array problems
- Linkedin basic problems
- Linkedin intermediate problems
- Linkedin advanced problems
- Company interview roadmaps
- All interview guides
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.