LinkedIn logo

LinkedIn Medium Interview Questions

8 medium-level practice questions for LinkedIn technical interviews

coding Medium Verified Question #1

1. Words From Phone Number


Category: String coding problem
A standard phone keypad maps digits to letters as follows: ` 2 -> a, b, c 3 -> d, e, f 4 -> g, h, i 5 -> j, k, l 6 -> m, n, o 7 -> p, q, r, s 8 ->...
Input: List
Output: Array
coding Medium Verified Question #2

2. Circular Signal Window


Category: Array coding problem
You are given a circular array signal of 0s and 1s representing antenna readings logged in sequence, where 1 means good signal and 0 means...
Input: Array
Output: Integer
coding Medium Verified Question #3

3. Dependency Task Executor


Category: Graph coding problem
A build system manages pipeline steps where each step may depend on other steps completing first. Implement the BuildPipeline class:...
Input: Graph (nodes and edges)
Output: Computed result
coding Medium Verified Question #4

4. Daily Branch Pruning


Category: Tree coding problem
A file system manages a directory tree. Each day, all leaf directories (those with no child directories) are simultaneously removed. Directories that...
Input: Array
Output: Array
coding Medium Verified Question #5

5. Distribution Center Placement


Category: Array coding problem
A logistics company is expanding its distribution network along a single highway. You are given an array of integers locations representing the...
Input: Array of integers
Output: Computed result
coding Medium Verified Question #6

6. Manual String Substitution


Category: String coding problem
A template engine needs to substitute all occurrences of a pattern in a template string with a replacement string, without using any built-in...
Input: String
Output: Printed output
coding Medium Verified Question #7

7. Closest Value Pair


Category: Array coding problem
An inventory system has two sorted product catalogs A and B. Each value in the catalog represents a product size. Find a pair [a, b] where a...
Input: Array
Output: Computed result
coding Medium Verified Question #8

8. Digit Replacement Maximizer


Category: String coding problem
A numeric optimization system performs exactly k substitution operations on a number string s. In each operation, choose any digit in s that is...
Input: String
Output: Computed result

No AI generated questions yet for LinkedIn.

Start practicing LinkedIn questions

Sign up for free to access walkthroughs, AI-generated questions, and more.

Get Started Free