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

SDE - Intern

Samsung
upvote
share-icon
3 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 4 Months
Topics: Data Structures, OOPS, Algorithms, DBMS, Networking
Tip
Tip

Tip 1 : Before diving aimlessly into a sea of questions, try to create a roadmap for yourself. This roadmap will take into account your strengths and weaknesses and you should be allotting time accordingly.
Tip 2 : Companies like Samsung do check your resume and grill you accordingly. Make sure to have atleast 3 projects with 1 of them being pretty good.
Tip 3 : Ideally, all your projects should be deployed publicly: either on Github/Heroku/Kaggle/App Store depending on the type of development. This will give you an advantage over others.

Application process
Where: Campus
Eligibility: Above 7.5 CGPA
Resume Tip
Resume tip

Tip 1 : Try not to lie. Only put things you are extremely confident about. You don't want to get blacklisted by the company.
Tip 2 : Try not to put trivial skills like Git/Github. Every developer is expected to know of these.
Tip 3 : Do not make any spelling mistakes on your CV. This just goes to show your carelessness.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration60 Minutes
Interview date23 Aug 2018
Coding problem3

The round consisted of 3 questions of medium difficulty to be completed in 60 minutes.

1. Minimum Insertions

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

You are given a string 'STR' of length 'N' consisting of lowercase English Alphabet letters. Your task is to return the count of minimum characters to be added to make the string a palindrome.

You can add any number of characters at any positions in the string like in the beginning, or between two characters of the string or at the end of the string.

For example:

For the given string “deed”, the string is already a palindrome, thus, minimum characters needed to be added are 0. 

Similarly, for the given string “abb”, the minimum characters needed is 1 i.e. ‘a’ which is to be added to the end of the string,  which makes the string “abba”, which is a palindrome.   
Try solving now

2. Cousins of Given Node in Binary Tree

Moderate
10m average time
90% success
0/80
Asked in companies
AmazonSamsungIBM

Given a binary tree of N nodes and a node of this tree, you need to return a list containing the values of the cousins of the given node in the given binary tree sorted by non-decreasing order of their values.

Note:
Two nodes of a binary tree are cousins if they have the same depth or level, but have different parents.

No two nodes in the given binary tree will have the same data values.
Example :

Example Of Cousins

Try solving now

3. Move All Negative Numbers To Beginning

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

You are given an array 'ARR' consisting of 'N' integers. You need to rearrange the array elements such that all negative numbers appear before all positive numbers.

Note:
The order of elements in the resulting array is not important.
Example:
Let the array be [1, 2, -3, 4, -4, -5]. On rearranging the array such that all negative numbers appear before all positive numbers we get the resulting array [-3, -5, -4, 2, 4, 1].
Try solving now
02
Round
Easy
Group Discussion
Duration30 Minutes
Interview date25 Aug 2018
Coding problem0

Group Discussion round where there were 10 people in a room and had to solve a question on pen/paper.
After you were done, you had to show your solution to the guy who asked the question.
If he/she felt you did it without any mistakes, you proceeded to the next round.

03
Round
Easy
Face to Face
Duration40 minutes
Interview date25 Aug 2018
Coding problem1

One interviewer asked the same question to two of us.
Both of us could qualify if we solved it correctly.

1. Convert binary tree to mirror tree

Easy
15m average time
85% success
0/40
Asked in companies
AdobeWalmartThales

Given a binary tree, convert this binary tree into its mirror tree.

A binary tree is a tree in which each parent node has at most two children.

Mirror of a Tree: Mirror of a Binary Tree T is another Binary Tree M(T) with left and right children of all non-leaf nodes interchanged.

alt text

Note:
1. Make in-place changes, that is, modify the nodes given a binary tree to get the required mirror tree.
Try solving now

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 - Intern
3 rounds | 4 problems
Interviewed by Samsung
1351 views
0 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 4 problems
Interviewed by Samsung
918 views
0 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 8 problems
Interviewed by Samsung
1056 views
0 comments
0 upvotes
company logo
SDE - Intern
3 rounds | 5 problems
Interviewed by Samsung
1615 views
1 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - Intern
3 rounds | 6 problems
Interviewed by Amazon
15605 views
4 comments
0 upvotes
company logo
SDE - Intern
4 rounds | 7 problems
Interviewed by Microsoft
15499 views
1 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 4 problems
Interviewed by Amazon
10216 views
2 comments
0 upvotes