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

SDE - 1

Samsung
upvote
share-icon
3 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Journey
Interviewer mainly focus on Data Structure and Algorithm. I have already solved 800+ problem on leetcode. So i didn't face any problem in this section.
Application story
I made a account on Naukri.com and I given my skill details and Resume there. From there I got mail and call from Samsung HR for further rounds.
Why selected/rejected for the role?
I was selected as I have given the optimised solution of all DSA question.I also explained them about previous company experience and the projects that i have done.
Preparation
Duration: 6 months
Topics: Data Structure, Advance Data Structure(Trie, BIT, Segment tree), Algorithms, Dynamic Programming, OOPS, Operating System, DBMS.
Tip
Tip

Tip 1 : Practice at least 300 Questions(containing standard question of DSA from all topics).
Tip 2 : Number of projects doesn't matter much.
Tip 3 : You should be able to explain your main project deeply.

Application process
Where: Other
Eligibility: Good understading of DSA. and OOPS.
Resume Tip
Resume tip

Tip 1 : You should have atleast one good project.
Tip 2 : You should be able to explain clearly.

Interview rounds

01
Round
Medium
Online Coding Test
Duration180 minutes
Interview date25 Apr 2022
Coding problem1

9:00 am
Many people come to give test.
You will be provided some snacks.

1. Minimize the difference

Moderate
45m average time
55% success
0/80
Asked in companies
AppleSamsung

Ninja has an array and he can perform two operations any number of times.

Operation 1: He can divide any even element by 2
For example: [1, 2, 3, 4, 5] -> [1, 1, 3, 2, 5]

Operation 2: He can multiple any odd element by 2:
For example: [1, 2, 3, 4, 5] -> [2, 2, 6, 4, 5]

Ninja wants your help to minimize the maximum difference between any two elements in the array using these operations.

Can you help Ninja achieve this task?

Problem approach

Step 1: First we need to sort the given array.So that the diffence of adjacent elements will be minimum.
Step 2: We will apply divide and conquer method .We will initialize starting and ending value first and we will take its mid value and check the whether it is satisfying the condition or not accordingly we will change the range.
Step 3: We will return the minimum mid value satisfying the condition(i.e, giving p pairs)

Try solving now
02
Round
Medium
Face to Face
Duration50 minutes
Interview date27 Apr 2023
Coding problem2

9:00 am
Interviewer was very calm and supportive.

1. Perfect Rectangle

Moderate
20m average time
85% success
0/80
Asked in companies
AppleOracleSamsung

You are given N rectangles whose sides are aligned with the x-axis and the y-axis. Each rectangle is represented by 4 integers [ a, b, c ,d ]. Here, (a, b) are x and y coordinates of the bottom left corner, and (c, d) are x and y coordinates of the top right corner.

You need to find if they all together form a rectangular region cover.

For Example :
If the given rectangle is [1, 1, 3, 2]. It means the bottom left corner is at [1, 1] and the top right corner is at [3, 2]. Hence, the top left corner is at [1, 2] and the bottom right corner is at [3, 1].

For the given figure is for N = 4, rectangle[0] = [1, 1, 4, 5], rectangle[1] = [4, 1, 6, 2], rectangle[3] = [4, 2, 6, 5], rectangle[4] = [6, 1, 8, 5].

alt text

As they all form a big rectangle [1, 1, 8, 5]. So, the answer is 1.

Note :

Two integers are used to represent Point - x and y coordinates.

Two points are used to represent a Rectangle - Bottom left corner and top right corner.
Problem approach

To make a perfect rectangle we have to mainly focus on corners of the rectangles.
So, if the total net count of corner is 4, it means it is a perfect square. 
Using hashing we can keep track of corner count.Below is the solution i have mentioned.

bool isRectangleCover(vector>& rect) {
map , int> m;
for(auto x:rect){
m[{x[0],x[1]}]++;
m[{x[2],x[1]}]--;
m[{x[2],x[3]}]++;
m[{x[0],x[3]}]--;

}
int cnt=0;
for(auto x:m){
if(abs(x.second)==1)cnt++;
else if(abs(x.second)!=1 && abs(x.second)!=0)
return false;
}
return cnt==4;
}

Try solving now

2. Technical Questions

They asked me about previous company projects that i have done.
I have worked on EIR5g (based on 5g network)

Problem approach

Tip 1 : I explained them about EIR5g and also explain the architecture of this application and it's working..
Tip 2 : And also tell them what technology we have used.

03
Round
Easy
HR Round
Duration30 minutes
Interview date28 Apr 2023
Coding problem1

9:00 am
This round is very easy.
Interviewer was very polite.

1. Basic HR Questions

Why you want to join Samsung?
Tell me about your self?
What's your family background?

Problem approach

Tip 1:You have to give some generic answer. 
Tip 2:Answer these questions confidently.

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
SDE - 1
4 rounds | 6 problems
Interviewed by Samsung
1921 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 4 problems
Interviewed by Samsung
1221 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 6 problems
Interviewed by Samsung
2230 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 5 problems
Interviewed by Samsung
419 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
115097 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
58238 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
35147 views
7 comments
0 upvotes