Now practice all your interviews before giving the real one

( Samsung interview questions )

Samsung interview questions, and how to answer them.

15 questions candidates report from Samsung 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 Samsung's own.

What Samsung interviews ask, in our data

Our bank holds 32 coding questions that candidates report from Samsung interviews. The topics that come up most: graphs (5), arrays & hashing (4), backtracking (3) and binary search (3). Of the 32 coding questions, 4 are easy, 21 medium and 7 hard.

Our data covers coding questions for Samsung; 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 Samsung.

Coding questions
32
Easy / medium / hard
4 / 21 / 7
Top topic
Graphs
Page data updated
29 November 2026

( Questions )

15 Samsung questions to practise.

Linked list

  1. 1

    Recently Used CacheMedium

    Build a cache that holds at most capacity keys and, once it is full, makes room by throwing out the key that was used longest ago.

  2. 2

    Merge K Sorted ListsHard

    lists holds the first nodes of k linked lists. Each node holds a number, val, and a link to the node after it, next; the last node's next is null.

Graphs

  1. 3

    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.

  2. 4

    Two-Color PartitionMedium

    For an undirected graph with n vertices labeled from 0 through n - 1, graph[u] lists the vertices directly connected to u.

  3. 5

    Keep Every Pair ApartMedium

    Assign the n people, identified by numbers 1 through n, to two groups of any sizes. Each entry dislikes[i] = [a, b] means that people a and b must belong to different groups.

Dynamic programming, 1-D

  1. 6

    Longest Rising SequenceMedium

    You are given a list of whole numbers, nums. Pick some of them, keeping the order they have in the list, so that every picked number is strictly bigger than the one picked before it.

Dynamic programming, 2-D

  1. 7

    Burst BalloonsHard

    A row of balloons has a number painted on each one, given in nums. You burst them one at a time, in any order you choose, until none are left.

Two pointers

  1. 8

    Trapped RainwaterHard

    A row of bars stands side by side, each 1 unit wide; height[i] is the height of bar i. After a heavy rain, water settles in the dips between the bars.

  2. 9

    Three That Sum to ZeroMedium

    Given a list of integers nums, return every triple of values, taken from three different positions, that adds up to 0.

  3. 10

    Sort Three ColoursMedium

    The list nums holds only the values 0, 1 and 2 — think of them as red, white and blue. Rearrange nums in place so that every 0 comes first, then every 1, then every 2.

Arrays & hashing

  1. 11

    Longest Number Per ColumnEasy

    A zero-indexed rectangular matrix of integers is provided. An entry’s length is its number of decimal digits, plus one for the minus sign when the entry is negative.

  2. 12

    Farthest Empty SeatMedium

    An array seats describes a row of seats indexed from 0. A value of 1 means the seat is occupied, while 0 means it is empty.

  3. 13

    Two SumEasy

    Given an array of integers nums and an integer target, return the positions of the two numbers that add up to target.

Sliding window

  1. 14

    Best Day to SellEasy

    prices[i] is the price of one share on day i. You may buy one share on one day and sell it on a later day.

  2. 15

    Small Product SegmentsMedium

    Given an integer array and an integer limit, return the number of nonempty contiguous subarrays whose product is strictly smaller than the limit.

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

Questions

Samsung interview: questions and answers

What coding questions does Samsung ask?

Our bank holds 32 coding questions that candidates report from Samsung interviews. The topics that come up most: graphs (5), arrays & hashing (4), backtracking (3) and binary search (3). This page shows 15 of them, grouped by topic.

How hard are Samsung coding questions?

Of the 32 coding questions, 4 are easy, 21 medium and 7 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 Samsung interview questions?

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

Can I practise a Samsung interview for free?

Yes. A new account you sign up for yourself gets one short free practice interview. Name Samsung 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 Samsung named as the company, then a scored report on every answer.

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