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

SDE - 1

Samsung R&D Institute
upvote
share-icon
3 rounds | 6 Coding problems

Interview preparation journey

expand-icon
Journey
I didn't develop a liking for coding until my school life, but it became an additional subject in class 12th, which eventually sparked my interest. Subsequently, I pursued admission in B.Tech in computer science. I started practicing DSA from my first year of college. Overall, it has been an exciting journey so far.
Application story
I got a message in my telegram group about the company visiting our campus to hire SDE. As It was the peak season for placements, I was sure I would apply for it. I started preparing accordingly (DSA and some Web Dev Basics).
Why selected/rejected for the role?
My answers were up to that mark, and he was convinced. So, overall, I passed to give him an expression of my value for the post.
Preparation
Duration: 2 Months
Topics: Data Structures, System Design, Graphs, OOPS, Advance Data Structures
Tip
Tip

Tip 1: For a company like Samsung, you need to excel in competitive programming, as the online test is tough to crack.
Tip 2: Focus on coding during the final months of interview preparation.
Tip 3: Aim to have at least three flagship projects in at least two different domains.

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

Tip 1: Keep the resume clean with a good text-to-space ratio. 

Tip 2: Avoid mentioning technologies you know little about, as it can backfire if the interviewer is knowledgeable in that technology.

Interview rounds

01
Round
Hard
Online Coding Test
Duration90 Minutes
Interview date9 Dec 2021
Coding problem3

1. Minimum Fountains

Easy
10m average time
80% success
0/40
Asked in companies
BNY MellonUberAdobe

There is a one-dimensional garden of length 'N'. On each of the positions from 0 to 'N', there is a fountain, and this fountain’s water can reach up to a certain range as explained further. In other words, there are 'N' + 1 fountains located at positions 0, 1, 2, 3, …. 'N' which can be activated in the garden.

You are given an integer 'N' and an array/list 'ARR' of length 'N' + 1, where each index of the array denotes the coverage limit of a particular fountain.

A fountain at index 'i' can water the area ranging from the position 'i' - 'ARR'['i'] to 'i' + 'ARR'['i'].

Your task is to find the minimum number of fountains that have to be activated such that the whole garden from position 0 to 'N' has access to the water from at least some fountain.

Note:

1. 0-based indexing is used in the array.
2. We only care about the garden from 0 to 'N' only. So if i - 'ARR'['i'] < 0 or i + 'ARR'['i'] > 'N', you may ignore the exceeding area.
3. If some fountain covers the garden from position 'A' to position 'B', it means that the water from this fountain will spread to the whole line segment with endpoints 'A' and 'B'.
Try solving now

2. Count Inversions

Moderate
40m average time
55% success
0/80
Asked in companies
Hewlett Packard EnterpriseBNY MellonGrab

For a given integer array/list 'ARR' of size 'N' containing all distinct values, find the total number of 'Inversions' that may exist.

An inversion is defined for a pair of integers in the array/list when the following two conditions are met.

A pair ('ARR[i]', 'ARR[j]') is said to be an inversion when:

1. 'ARR[i] > 'ARR[j]' 
2. 'i' < 'j'

Where 'i' and 'j' denote the indices ranging from [0, 'N').
Try solving now

3. Max Sum After 'K' Negations

Easy
15m average time
85% success
0/40
Asked in companies
IntuitSamsung R&D InstituteHyper Verge

You are given an array/list ‘arr’ of size ‘N’. Find the maximum sum of the elements of the array you can obtain after flipping the sign of exactly ‘K’ elements

For example :
Let arr = [-2, 0, 5, -1, 2]
and K = 4

We will output 10 as we replace -2 by 2, -1 by 1, 0 by 0, and 0 by 0.
Note :
We can apply the flip operation to the same element multiple times
Try solving now
02
Round
Medium
Video Call
Duration105 Minutes
Interview date10 Dec 2021
Coding problem2

The interview was scheduled for 10 am and conducted by an SDE 3 of the company, who had an excellent background in competitive coding. It started with me introducing myself. The interviewer then shared a Google Doc with two coding questions written on it. He asked me to go through the first question and explain my approach. After that, he requested me to code the solution. The same procedure was followed for the second question.

1. Count distinct Bitwise OR of all subarrays

Easy
10m average time
90% success
0/40
Asked in companies
Samsung R&D InstituteOYOOla

You are given an array consisting of N positive integers, your task is to count the number of distinct possible values that can be obtained by taking the bitwise OR of the elements of all possible subarrays of the given array

Note:

1) A subarray is a part of the array which is contiguous (i.e. elements in the original array occupy consecutive positions) and inherently maintains the order of elements. For example, the subarrays of the array {1, 2, 3} are {1}, {1, 2}, {1, 2, 3}, {2}, {2, 3}, and {3}.
2) Bitwise OR operation takes two numbers and performs OR operation on every bit of those two numbers. For example, consider two numbers 2 and 3 their bitwise OR will be 3. Because the binary representation of 2 is 10 and the binary representation of 3 is 11. And OR of 10 and 11 will be 11 which evaluates to 3.
3) The array may contain duplicate elements.
Try solving now

2. Colour the Graph

Moderate
20m average time
80% success
0/80
Asked in companies
MeeshoChegg Inc.Microsoft

You are given a graph with 'N' vertices numbered from '1' to 'N' and 'M' edges. You have to colour this graph in two different colours, say blue and red such that no two vertices connected by an edge are of the same colour.

Note :
The given graph may have connected components.
Try solving now
03
Round
Hard
HR Round
Duration60 Minutes
Interview date10 Dec 2021
Coding problem1

The round was at 4 pm evening. This round was taken by one of the Vice President of the company. This made me anxious from the very beginning.

1. Basic HR Questions

  • The interviewer was a knowledgeable man and had excellent knowledge in every field. He always demanded exact answers.
  • The round started with my resume walk-through. Then came open-ended questions followed by a system design question in which I failed miserably.
Problem approach

Tip 1: Avoid mentioning skills you don't know much about. 

Tip 2: Be precise with your answers and avoid beating around the bush. 

Tip 3: Focus on system design if you're targeting good product-based companies.

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
3 rounds | 3 problems
Interviewed by Samsung R&D Institute
0 views
0 comments
0 upvotes
company logo
SDE - 1
4 rounds | 7 problems
Interviewed by Samsung R&D Institute
0 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 6 problems
Interviewed by Samsung R&D Institute
1417 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 3 problems
Interviewed by Samsung R&D Institute
1300 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