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

SDE - Intern

Samsung R&D Institute
upvote
share-icon
2 rounds | 5 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 3 months
Topics: OOPS, Operating System, DBMS, Data Structures(DP, Graphs, Tree, Recursion/Backtracking, Array, Hashmap), Node JS, Mongo DB, System Design
Tip
Tip

Tip 1 : Consistency is the key. Solve new problems on consistent basis without looking for the solution. Try to solve the problem on your own, understand the problem, you might take 2-3 days before you get to the final solution but this will help you the most. DON'T LOOK AT SOLUTIONS untill you have tried to solve it as much as you can.
Tip 2 : Practice atleast 70-80 good questions(Medium + Hard) of each Data Structure. Give leetcode contests on regular basis to improve your problem solving skills within the given time span.
Tip 3 : Focus on your core subjects too. Students with good DSA skills but less knowledge of core subjects( OS, OOPS, DBMS, CN) and system design are not able to crack the last rounds of major companies.

Application process
Where: Campus
Eligibility: No Criteria
Resume Tip
Resume tip

Tip 1 : Be honest with whatever you write in the resume. 
Tip 2 : Make sure it is a single page resume with proper alignment and readability.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration70 minutes
Interview date22 Nov 2021
Coding problem3

The round had 3 DSA questions and the time given was 70 minutes

1. Count elements in all subtrees

Easy
10m average time
90% success
0/40
Asked in companies
Thought WorksSamsung R&D Institute

You are given an arbitrary tree consisting of 'N' nodes numbered from 0 to 'N' - 1. You need to find the total number of elements in all the subtrees of the given tree. In other words, given a generic tree, find the count of elements in the subtrees rooted at each node.

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. For better understanding, refer to the image below:-

alt text

Note:
1. The tree will always be rooted at 0. 
2. You can return the count of nodes in any order.
3. The root of any subtree is also counted in the subtree thus the count of nodes in a subtree rooted at a leaf node is 
4. You can return the numbers in any order.
Try solving now

2. Zigzag Binary Tree Traversal

Easy
10m average time
90% success
0/40
Asked in companies
AmazonGoldman SachsFlexiEle Consulting Services (FE)

You are given a ‘Binary Tree’.


Return the level-order traversal of the Binary Tree.


Example:
Input: Consider the following Binary Tree:

Example

Output: 
Following is the level-order traversal of the given Binary Tree: [1, 2, 3, 5, 6, 4]


Try solving now

3. Last Stone Weight

Easy
27m average time
0/40
Asked in companies
Samsung R&D InstituteExpedia GroupLTIMindtree

We have a collection of 'N' stones, each stone has a positive integer weight.

On each turn, we choose the two heaviest stones and smash them together. Suppose the stones have weights 'x' and 'y' with 'x' <= 'y'. The result of this smash will be:

1. If 'x' == 'y', both stones are totally destroyed;

2. If 'x' != 'y', the stone of weight 'x' is totally destroyed, and the stone of weight 'y' has a new weight equal to 'y - x'.

In the end, there is at most 1 stone left. Return the weight of this stone or 0 if there are no stones left.

Try solving now
02
Round
Medium
Face to Face
Duration60 minutes
Interview date27 Dec 2021
Coding problem2

The interview round started with my introduction followed by a small interaction with the interviewer. The interview was focussed more on my projects that I had done and were mentioned in my resume followed by DSA questions and OOPS.

1. Two Sum

Easy
10m average time
90% success
0/40
Asked in companies
MeeshoAdobeInfo Edge India (Naukri.com)

You are given an array of integers 'ARR' of length 'N' and an integer Target. Your task is to return all pairs of elements such that they add up to Target.

Note:

We cannot use the element at a given index twice.

Follow Up:

Try to do this problem in O(N) time complexity. 
Try solving now

2. Maximum Size Rectangle Sub-matrix With All 1's

Hard
10m average time
80% success
0/120
Asked in companies
AmazonDunzoRazorpay

You are given an 'N' * 'M' sized binary-valued matrix 'MAT, where 'N' is the number of rows and 'M' is the number of columns. You need to return the maximum size (area) of the submatrix which consists of all 1’s i.e. the maximum area of a submatrix in which each cell has only the value ‘1’.

subMatrix_image

In the above image, areas in green, red, and violet color are all submatrices of the original 4x4 matrix.

Note:

1. Binary valued matrix has only two values in each cell : 0 and 1.
2. A submatrix is a matrix formed by selecting certain rows and columns from a larger matrix.
3. The area of a matrix with 'h' rows and 'w' columns is equal to 'h' * 'w'. 
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
2 rounds | 5 problems
Interviewed by Samsung R&D Institute
1245 views
0 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 3 problems
Interviewed by Samsung R&D Institute
1092 views
0 comments
0 upvotes
company logo
Software Engineer
3 rounds | 7 problems
Interviewed by Samsung R&D Institute
1033 views
0 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 4 problems
Interviewed by Samsung R&D Institute
455 views
0 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