Now practice all your interviews before giving the real one
( Samsung interview questions )
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.
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.
( Questions )
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
Two SumEasy
Given an array of integers nums and an integer target, return the positions of the two numbers that add up to target.
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.
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
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.
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.
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.
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
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.