Now practice all your interviews before giving the real one

( LinkedIn interview questions )

LinkedIn interview questions, and how to answer them.

15 questions candidates report from LinkedIn interviews, grouped by topic, with a short note on how to answer each kind. Then say your answers out loud in a practice interview.

5 minutes, no CV needed. A practice round, not LinkedIn's own.

What LinkedIn interviews ask, in our data

Our bank holds 91 coding questions that candidates report from LinkedIn interviews. The topics that come up most: graphs (15), arrays & hashing (10), math & bits (10) and dynamic programming, 1-D (8). Of the 91 coding questions, 13 are easy, 69 medium and 9 hard.

Our data covers coding questions for LinkedIn; it says nothing about their other rounds, so we don't guess. These are practice questions based on what candidates report on public, community-kept lists, each written in our own words. RoundAlpha is not linked to LinkedIn.

Coding questions
91
Easy / medium / hard
13 / 69 / 9
Top topic
Graphs
Page data updated
29 November 2026

( Questions )

15 LinkedIn questions to practise.

Sliding window

  1. 1

    Largest Upgradeable SectionMedium

    You are given a binary list and an integer k. You may change at most k zero entries into ones.

Backtracking

  1. 2

    Phone Keypad WordsMedium

    On an old phone keypad, each of the keys 2 to 9 carries a few letters: - 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: t, u, v - 9: w, x, y, z You are given a string of those digits.

  2. 3

    All Totals MatchMedium

    Decide whether the entries can be split into k non-empty groups whose sums are identical.

  3. 4

    All OrderingsMedium

    You are given a list of different whole numbers, nums. Return every ordering of them: every way to line up all of the numbers in a row, using each number exactly once.

Stack

  1. 5

    Balanced BracketsEasy

    A string s is made only of the characters ( ) [ ] { }. Return true if every opening bracket is closed by a bracket of the same kind, and the brackets close in the right order.

Binary search

  1. 6

    First and Last MatchesMedium

    The integer array nums is already sorted in non-decreasing order. Given target, return its first and last zero-based positions in nums as [start, end].

  2. 7

    Search a Rotated ListMedium

    nums started out as a list of different integers sorted from smallest to largest.

Math & bits

  1. 8

    Raise to an Integer PowerMedium

    Given a double x and an integer n, return x raised to n as a double. Positive, zero, and negative exponents must all be handled.

  2. 9

    Number Syntax CheckHard

    Given a string s, return whether its entire contents follow the number grammar below. No numeric conversion is needed.

Dynamic programming, 1-D

  1. 10

    Best Slice SumMedium

    You are given a list of whole numbers, nums, some of which may be negative. A slice is a run of one or more numbers that sit next to each other in the list.

  2. 11

    Strongest Product BlockMedium

    Given an integer array nums, return the largest product obtainable from a nonempty contiguous segment of the array.

Graphs

  1. 12

    Word LadderHard

    You are given two words, beginWord and endWord, and a list of words, wordList.

  2. 13

    Count IslandsMedium

    You are given a map of the sea as a grid of "1"s and "0"s: "1" is land and "0" is water. An island is a group of land cells joined up, down, left or right.

Greedy

  1. 14

    Nonadjacent Flower CapacityEasy

    The integer array flowerbed represents a row of garden plots. A value of 0 denotes an empty plot, while a value of 1 denotes a plot that already contains a flower.

Intervals

  1. 15

    Merge RangesMedium

    You are given a list of ranges, each written as [start, end]. Merge every group of ranges that overlap or touch, and return the merged ranges sorted by their start.

Want to write the code too? The LinkedIn list on our coding practice page runs your answer against hidden tests, in six languages.

Questions

LinkedIn interview: questions and answers

What coding questions does LinkedIn ask?

Our bank holds 91 coding questions that candidates report from LinkedIn interviews. The topics that come up most: graphs (15), arrays & hashing (10), math & bits (10) and dynamic programming, 1-D (8). This page shows 15 of them, grouped by topic.

How hard are LinkedIn coding questions?

Of the 91 coding questions, 13 are easy, 69 medium and 9 hard. The level you meet depends on the role and your experience, so practise easy and medium ones until you can explain them out loud, then add hard ones.

Are these the real LinkedIn interview questions?

They are practice questions based on what candidates report from LinkedIn interviews on public, community-kept lists. Each one is written in our own words. RoundAlpha is not linked to LinkedIn, and no list can promise what a given interviewer will ask.

Can I practise a LinkedIn interview for free?

Yes. A new account you sign up for yourself gets one short free practice interview. Name LinkedIn as the company and the interviewer leans its questions toward that company. You can choose "No CV this time", so no CV is needed. You talk out loud and get a scored report at the end.

Read next

Ready when you are

Say it out loud once before it counts.

A short practice interview with LinkedIn named as the company, then a scored report on every answer.

5 minutes, no CV needed. A practice round, not LinkedIn's own.