Explore questions associated with LinkedIn. Review the source details, then use the workspace for code, notes, and diagrams.
198 questions in the library. A source association does not guarantee a future interview question.
Behavioral and leadership · Coding · Machine learning · ML system design · Other questions · Practical engineering · System design
Loading questions…
Showing 76–100
Design algorithms to serialize a binary search tree into a compact string and deserialize it back to the exact original tree. Leverage the BST ordering…
Companies: LinkedIn, Microsoft
Last reported Apr 2026
Design a metrics aggregation system that collects count-based metrics (like user signups, system errors, ad clicks) from services via a client library and displays them…
Companies: LinkedIn, Amazon, DoorDash, Google +10
Last reported Apr 2026
Given target coordinates (x, y), find the minimum number of knight moves required to reach that square from (0,0) on an infinite chessboard. This is…
Companies: LinkedIn, eBay, Google, Meta +1
A* Search · Bidirectional Search · Breadth-First Search · Heuristic Search
Last reported Apr 2026
Given a set of houses, write a dynamic programming solution to determine the minimum cost of placing routers to provide coverage for all houses. The…
Companies: LinkedIn
Last reported Apr 2026
Walk me through a significant technical project you've worked on in the past. Explain the technical challenges you faced, your approach to solving them, and…
Companies: LinkedIn, Aloe Identity, Anthropic, Apple +11
Last reported Apr 2026
Given an unweighted graph and two nodes, find the shortest path between them. Return the minimum number of edges required to travel from the source…
Companies: LinkedIn
Last reported Apr 2026
Companies: LinkedIn, Amazon, Coinbase, Confluent +2
Last reported Apr 2026
Companies: LinkedIn, Bloomberg, Confluent, Google +9
Last reported Apr 2026
Given a binary tree, simulate the process of repeatedly removing all current leaf nodes and recording their values until the tree is empty. Return a…
Companies: LinkedIn, Amazon, eBay, Google +1
Last reported Apr 2026
Given a mouse in a grid, determine if the mouse can reach the cheese. The only way to manipulate the mouse is via two functions…
Companies: LinkedIn, Meta
Last reported Mar 2026
Design a system to migrate data from a SQL database to a NoSQL database while maintaining service availability under 10,000 QPS API load. Consider failure…
Companies: LinkedIn, Digitalocean, Tesla
Last reported Mar 2026
Design a hit counter that records timestamps of hits and returns the number of hits in the past 5 minutes (300 seconds). The challenge is…
Companies: LinkedIn, Adyen, Apple, Cisco +5
Array · Binary Search · Data Stream · Design
Last reported Mar 2026
Return the node values grouped by tree depth, but alternate the order of values on each level (left-to-right then right-to-left, and so on). This is…
Companies: LinkedIn, Meta
Last reported Mar 2026
Design a data structure that supports incrementing and decrementing string counts (removing keys when their count drops to zero) and can return any key with…
Companies: LinkedIn, Atlassian, Meta, Microsoft +2
Design · Doubly-Linked List · Hash Table · Linked List
Last reported Mar 2026
Given strings S and T, find the shortest contiguous substring of S such that T appears as a subsequence (characters of T appear in order…
Companies: LinkedIn
Last reported Mar 2026
Design a system that tracks and displays the top K most shared URLs/articles from LinkedIn posts across different time windows (5 minutes, 1 hour, 1…
Companies: LinkedIn, Amazon
Last reported Feb 2026
Companies: LinkedIn
ML System Design
Last reported Feb 2026
Find the contiguous subarray with the largest product in an integer array; because negatives and zeros can flip signs, you must track both the running…
Companies: LinkedIn, Microsoft
Array · Dynamic Programming
Last reported Feb 2026
Companies: LinkedIn
Last reported Feb 2026
Design a system that aggregates logs from multiple services to identify and rank the top K most frequent exceptions. The system should help engineering teams…
Companies: LinkedIn
Last reported Jan 2026
Describe the most significant technical obstacle you encountered during a recent project and how you approached solving it.
Companies: LinkedIn, Robinhood
Last reported Jan 2026
Design a system that efficiently retrieves top-k items (songs, videos, hashtags, etc.) based on user activity or engagement metrics within specified time windows. The system…
Companies: LinkedIn, Amazon, Atlassian, Bloomberg +10
Last reported Jan 2026
Compute the minimum number of single-character insertions, deletions, or replacements needed to transform word1 into word2 (the classic Levenshtein edit distance), typically…
Companies: LinkedIn, Amazon
Last reported Jan 2026
Given a BST and two nodes p and q, find their lowest common ancestor — the deepest node that is an ancestor of both. Leverage…
Companies: LinkedIn
Last reported Jan 2026
Given an n×k cost matrix, choose a color for each house so that no two adjacent houses share the same color and the total painting…
Companies: LinkedIn
Last reported Jan 2026