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: 2.5 months
Topics: Data Structures, Algorithms, Operating systems, Database management system, Object oriented programming
Tip
Tip

Tip 1 : Code the question during practice, don't just skip even if you know it.
Tip 2 : Take care of small things for a good impression (like free the linked list node in case you want to delete it)
Tip 3 : Tell the interviewer if you have done the question already.

Application process
Where: Campus
Eligibility: Minimum CGPA around 6-7.
Resume Tip
Resume tip

Tip 1 : At least one/two programming projects.
Tip 2 : Know the projects you mentioned in detail (not in deep).

Interview rounds

01
Round
Medium
Online Coding Interview
Duration90 minutes
Interview date1 Aug 2018
Coding problem3

This was an online round of 90 minutes. It had 3 coding questions of 3,5 and 5 marks respectively.

1. Second largest element in the array

Easy
15m average time
80% success
0/40
Asked in companies
AdobeSamsungIBM

You have been given an array/list 'ARR' of integers. Your task is to find the second largest element present in the 'ARR'.

Note:
a) Duplicate elements may be present.

b) If no such element is present return -1.
Example:
Input: Given a sequence of five numbers 2, 4, 5, 6, 8.

Output:  6

Explanation:
In the given sequence of numbers, number 8 is the largest element, followed by number 6 which is the second-largest element. Hence we return number 6 which is the second-largest element in the sequence.
Problem approach

Basic implementation

Try solving now

2. Subtree of Another Tree

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

Given two binary trees T and S, check whether tree S has exactly the same structure and node values with a subtree of T, i.e., check if tree S is a subtree of the tree T.

A subtree of a tree T is a tree S consisting of a node in T and all of its descendants in T. The subtree corresponding to the root node is the entire tree; the subtree corresponding to any other node is called a proper subtree.

Try solving now

3. Minimum number of swaps required to sort an array

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

You have been given an array 'ARR' of 'N' distinct elements.

Your task is to find the minimum no. of swaps required to sort the array.

For example:
For the given input array [4, 3, 2, 1], the minimum no. of swaps required to sort the array is 2, i.e. swap index 0 with 3 and 1 with 2 to form the sorted array [1, 2, 3, 4].
Try solving now
02
Round
Medium
Face to Face
Duration40 minutes
Interview date5 Aug 2018
Coding problem0

It was an elimination round. All the selected students were divided in groups of 10 and each group was given a question. All have to come up with a solution individually in 30 minutes duration. Then afterwards we have to explain our approach to the interviewer. My group got a design question. We were supposed to design text editor. We were given functions like insert, undo, cursor position etc and were supposed to write pseudo code as well as data structures used by us. Interviewer gave corner cases when we were explaining the approach and asked how to handle them.

Some other groups were asked about tries and basic 2D array problems.

03
Round
Easy
Face to Face
Duration20-25 minutes
Interview date5 Aug 2018
Coding problem1

1. Technical Questions

Very brief discussion on resume.
1-2 lines on each Project.
Trie Data structure.
Define MVC.
Difference between overriding and overloading.
Process scheduling algorithms (just names).

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
2 rounds | 4 problems
Interviewed by Samsung
919 views
0 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 4 problems
Interviewed by Samsung
919 views
0 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 8 problems
Interviewed by Samsung
1057 views
0 comments
0 upvotes
company logo
SDE - Intern
3 rounds | 5 problems
Interviewed by Samsung
1616 views
1 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - Intern
3 rounds | 6 problems
Interviewed by Amazon
15606 views
4 comments
0 upvotes
company logo
SDE - Intern
4 rounds | 7 problems
Interviewed by Microsoft
15500 views
1 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 4 problems
Interviewed by Amazon
10216 views
2 comments
0 upvotes