Samsung interview experience Real time questions & tips from candidates to crack your interview

Software Engineer

Samsung
upvote
share-icon
3 rounds | 7 Coding problems

Interview preparation journey

expand-icon
Journey
In 2022, I was fortunate enough to secure a role as a software engineer with Samsung Electronics through their on-campus hiring process, which consisted of three rounds: 1. Coding round, 2. Technical interview 3. HR interview The coding round involved three medium-level questions that had to be completed within an hour. Despite the challenging time limit, I was able to solve two out of the three questions - one on binary search, which is my area of expertise, and another related to the DFS algorithm. Both of these questions were closely tied to my strengths, which gave me the confidence to tackle them with ease. Overall, I found the coding round to be a great test of my abilities and an exciting start to the interview process. Moving on to the second round of the hiring process, I found myself facing an online technical interview. In preparation for the interview, I always try to think about what I would do if I were tasked with taking the company to the top, and I answer accordingly. I was confident in my strengths, which included having many working projects under my belt - some of which were live - as well as making contributions to open source. However, I was also aware of my weaknesses, which included only having basic knowledge of DS and algorithms. During the interview, the interviewer began with the classic question of "tell me about yourself", to which I provided a brief overview of my background and experience. I also took the opportunity to mention my projects, which caught the interviewer's attention and led to a discussion that lasted for about half an hour. Following that, the interviewer asked me about my knowledge of DS and algorithms, to which I responded honestly, explaining that while I had some basic knowledge, it was not my strong point. The interviewer then proceeded to ask me a question about Trie DS, which is an advanced data structure that I was unfamiliar with. Despite this setback, I managed to redeem myself by demonstrating my knowledge of multithreading concepts and answering some DBMS-related questions accurately. Towards the end of the interview, I asked the interviewer about the work at Samsung, and we had a fruitful discussion about the possible tasks that a candidate might be assigned. Overall, I found the technical interview to be a challenging but rewarding experience that helped me learn more about myself and my capabilities. My interview was taken in the morning before 11 AM. Then at 2 PM, I got the message that I have cleared the interview. Later in the evening, at around 6 PM, HR called me and informed me that this is your on call HR interview. To be frank, I wasn't prepared at all. she asked me to rate my proficiency in programming languages such as C, C++, and Java. Additionally, she asked me simple questions about my motivation for pursuing engineering (as both my parents are doctors). Despite my lack of preparation, the interviewer seemed satisfied, and the call concluded on a positive note. After having dinner at 9 PM, I received a message from my campus placement officer that I had been selected for the role. It was a moment of pure joy for me and everyone around me. Overall, the interview experience was quite enjoyable and memorable.
Application story
In 2022, I was fortunate enough to secure a role as a software engineer with Samsung Electronics through their on-campus hiring process, which consisted of three rounds: 1. Coding round, 2. Technical interview 3. HR interview
Why selected/rejected for the role?
I got selected because my knowledge and skills are aligning to the need of the company and my interviewers were being able to identify it.
Preparation
Duration: 2 months
Topics: Operating system, Binary search, DBMS, Web development, Rest APIs
Tip
Tip

Tip 1 : Must learn the basic DS and algos
Tip 2 : Prepare some projects which should be in presentable form
Tip 3 : Try to divert interview on your strong side.

Application process
Where: Campus
Eligibility: 7 CGPA
Resume Tip
Resume tip

Tip 1 : List down minimum 2 presentable projects
Tip 2 : Try to align your skills to the requirements of the company.

Interview rounds

01
Round
Medium
Online Coding Test
Duration60 minutes
Interview date4 Nov 2021
Coding problem3

The coding round involved three medium-level questions that had to be completed within an hour. Despite the challenging time limit, I was able to solve two out of the three questions - one on binary search, which is my area of expertise, and another related to the DFS algorithm. Both of these questions were closely tied to my strengths, which gave me the confidence to tackle them with ease. Overall, I found the coding round to be a great test of my abilities and an exciting start to the interview process.

1. Aggressive Cows

Moderate
30m average time
70% success
0/80
Asked in companies
AdobePhonePeSamsung

You are given an array 'arr' consisting of 'n' integers which denote the position of a stall.


You are also given an integer 'k' which denotes the number of aggressive cows.


You are given the task of assigning stalls to 'k' cows such that the minimum distance between any two of them is the maximum possible.



Example:
Input: 'n' = 3, 'k' = 2 and 'arr' = {1, 2, 3}

Output: 2

Explanation: The maximum possible minimum distance will be 2 when 2 cows are placed at positions {1, 3}. Here distance between cows is 2.
Problem approach

First tried with brute force. It gave TLE. Then tried to think about optimization. Tried with binary search. It worked.

Try solving now

2. Attend Maximum Parties

Moderate
0/80
Asked in companies
AmazonFacebookTwitter

There are ‘N’ parties organised and you are also given a matrix ‘Party’ where Party[i] contains two integers the starting date and the ending date (both inclusive) of the i’th party.

You are only allowed to attend a single party each day, you are a party animal and want to attend a maximum number of different parties, find the maximum parties that you can attend.

Example :
If ‘N’ = 5 and ‘Party’ = { {1, 1}, {2, 2}, {1, 3}, {4, 4}, {3, 3}, }

You can attend a maximum of 4 different parties, you can attend the 1’st party on the 1’st day, 2’nd party on the 2’nd day, 3’rd party on the 3’rd day and 4’th party on the 4’th day. But it is impossible to attend the 5’th (last) party, as if we were to attend this party then we would have to attend it instead of the 3’rd party (3’rd day), there may be many other combinations possible, but no combination will result in a maximum number of different parties attend greater than four.
Problem approach

First tried with BFS. Some corner cases were neglected. Then tried with DFS. It worked.

Try solving now

3. House Robber

Moderate
26m average time
0/80
Asked in companies
PayPalExpedia GroupGoldman Sachs

A thief wants to loot houses. He knows the amount of money in each house. He cannot loot two consecutive houses. Find the maximum amount of money he can loot.

Try solving now
02
Round
Hard
Video Call
Duration60 minutes
Interview date6 Nov 2021
Coding problem3

Moving on to the second round of the hiring process, I found myself facing an online technical interview. In preparation for the interview, I always try to think about what I would do if I were tasked with taking the company to the top, and I answer accordingly. I was confident in my strengths, which included having many working projects under my belt - some of which were live - as well as making contributions to open source. However, I was also aware of my weaknesses, which included only having basic knowledge of DS and algorithms.

During the interview, the interviewer began with the classic question of "tell me about yourself", to which I provided a brief overview of my background and experience. I also took the opportunity to mention my projects, which caught the interviewer's attention and led to a discussion that lasted for about half an hour. Following that, the interviewer asked me about my knowledge of DS and algorithms, to which I responded honestly, explaining that while I had some basic knowledge, it was not my strong point. The interviewer then proceeded to ask me a question about Trie DS, which is an advanced data structure that I was unfamiliar with. Despite this setback, I managed to redeem myself by demonstrating my knowledge of multithreading concepts and answering some DBMS-related questions accurately. Towards the end of the interview, I asked the interviewer about the work at Samsung, and we had a fruitful discussion about the possible tasks that a candidate might be assigned. Overall, I found the technical interview to be a challenging but rewarding experience that helped me learn more about myself and my capabilities.

1. Theory Questions

Explain multithreading.

Explain Trie Data structure

Problem approach

Tip 1 : Read about programming of threads in C++ and cores.

2. SQL

2 tables were given which share a key. Remove entries of a given value for that key.

Problem approach

Tip 1 : First inner join the data
Tip 2 : Delete from the inner joined data.

3. Reverse First K elements of Queue

Easy
10m average time
90% success
0/40
Asked in companies
MicrosoftOptumAmazon

You are given a QUEUE containing ‘N’ integers and an integer ‘K’. You need to reverse the order of the first ‘K’ elements of the queue, leaving the other elements in the same relative order.

You can only use the standard operations of the QUEUE STL:

1. enqueue(x) : Adds an item x to rear of the queue
2. dequeue() : Removes an item from front of the queue
3. size() : Returns number of elements in the queue.
4. front() : Finds the front element.
For Example:
Let the given queue be { 1, 2, 3, 4, 5 } and K be 3.
You need to reverse the first K integers of Queue which are 1, 2, and 3.
Thus, the final response will be { 3, 2, 1, 4, 5 }.
Problem approach

Although I was jit able to give answer to that, now I have learned about it. It is a DS used for storing strings over an alphabet. Used to implement Autocomplete functionality.

Try solving now
03
Round
Easy
HR Round
Duration20 minutes
Interview date6 Nov 2021
Coding problem1

HR called me and informed me that this is your on call HR interview. To be frank, I wasn't prepared at all. she asked me to rate my proficiency in programming languages such as C, C++, and Java. Additionally, she asked me simple questions about my motivation for pursuing engineering (as both my parents are doctors). Despite my lack of preparation, the interviewer seemed satisfied, and the call concluded on a positive note.

1. Basic HR Questions

Tell me about yourself

What are your hobbies?

Why should we hire you?

Rate your programming language skills.

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

How do you remove whitespace from the start of a string?

Choose another skill to practice
Similar interview experiences
company logo
Software Engineer
3 rounds | 4 problems
Interviewed by Samsung
2937 views
0 comments
0 upvotes
company logo
Software Engineer
2 rounds | 3 problems
Interviewed by Samsung
1378 views
0 comments
0 upvotes
company logo
Software Engineer
2 rounds | 2 problems
Interviewed by Samsung
1597 views
1 comments
0 upvotes
company logo
Software Engineer
3 rounds | 5 problems
Interviewed by Samsung
2279 views
1 comments
0 upvotes
Companies with similar interview experiences
company logo
Software Engineer
3 rounds | 7 problems
Interviewed by Optum
7977 views
1 comments
0 upvotes
company logo
Software Engineer
5 rounds | 5 problems
Interviewed by Microsoft
10148 views
1 comments
0 upvotes
company logo
Software Engineer
2 rounds | 4 problems
Interviewed by Amazon
4448 views
1 comments
0 upvotes