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

R&D Intern

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

Interview preparation journey

expand-icon
Preparation
Duration: 12 months
Topics: Data Structures, Algorithms, DBMS, Operating Systems, OOPS, Computer Networks
Tip
Tip

Tip 1 : Must do Previously asked Interviews as well as Online Test Questions.
Tip 2 : Prepare OS, DBMS, OOPs, Computer Networks well.
Tip 3 : Prepare well for one project mentioned in the resume, the interviewer may ask any question related to the project, especially about the networking part of the project.

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

Tip 1 : Have at least one project in the resume.
Tip 2 : Must mention every skill and certificate in the resume.
Tip 3 : Must have known every strong and intermediate skill mentioned in resume.

Interview rounds

01
Round
Medium
Online Coding Test
Duration70 minutes
Interview date26 Dec 2021
Coding problem2

3 Questions were there, with medium-level difficulty, those who solved all three questions only got selected for interviews.

1. Boxes Of Chocolates

Moderate
20m average time
86% success
0/80
Asked in companies
Samsung R&D InstituteGrabFlipkart limited

This is the time when Dr. Stephen wants to distribute chocolates. He has N number of boxes in a row, and each box contains some chocolates. Now, He wants to distribute chocolates to K children keeping in mind that distribution should be as fair as possible. To fairly distribute the gift boxes, he decided to give the maximum number of chocolates equally to K children.

Formally, There are N boxes with a different number of chocolates in them. The task is to divide the chocolates equally among K children where you can only choose consecutive boxes(subarray) to distribute chocolates. You need to print the maximum number of chocolates each child can get.

For Example: for the given boxes of chocolates [3,2,2,5,4,1] and 5 students.

Output: 2 

If there is no restriction on choosing the boxes then the maximum number of chocolates the 5 students equally can have is 3 by picking all boxes except the box at index 2(0-based indexing). So total candies will be 3+2+5+4+1 = 15 and each of the 5 students will get 15/5=3 candies. 

But we are allowed to choose only consecutive boxes. So if we choose boxes [0,1] then 3+2=5 then each student will have only 1 chocolate and when we choose boxes[4,6] as 5+4+1=10 then each student will have 2 chocolates. So the maximum number of chocolates each student can get is 2.
Problem approach

Step 1- Sorted the array.
Step 2 - applied two pointer approach i.e took two integers i and j, point i to first element while pointing j to the last element of the array.
Step 3 - in every step do count++ and j--;
Step 4 - if sum of ith and jth element is less than K then do i++;

Try solving now

2. Buy and Sell Stock

Hard
0/120
Asked in companies
Samsung R&D InstituteMicrosoftSalesforce

You are Harshad Mehta’s friend. He told you the price of a particular stock for the next ‘n’ days.


You are given an array ‘prices’ which such that ‘prices[i]’ denotes the price of the stock on the ith day.


You don't want to do more than 2 transactions. Find the maximum profit that you can earn from these transactions.


Note

1. Buying a stock and then selling it is called one transaction.

2. You are not allowed to do multiple transactions at the same time. This means you have to sell the stock before buying it again. 
Example:
Input: ‘n’ = 7, ‘prices’ = [3, 3, 5, 0, 3, 1, 4].

Output: 6

Explanation: 
The maximum profit can be earned by:
Transaction 1: Buying the stock on day 4 (price 0) and then selling it on day 5 (price 3). 
Transaction 2: Buying the stock on day 6 (price 1) and then selling it on day 6 (price 4).
Total profit earned will be (3 - 0) + ( 4 - 1) = 6. 
Try solving now
02
Round
Easy
Video Call
Duration60 minutes
Interview date6 Jan 2022
Coding problem1

The interviewer asked for my introduction , then asked me to explain the project . He then asked how i developed the website from scratch i.e. he asked me about the life cycle of development of the project and some more follow up questions regarding technologies used. He then asked few questions on Operating system and OOPS and asked me to code and explain some concepts of OOPS. He then asked me one coding questions.

1. Reverse Linked List

Easy
15m average time
85% success
0/40
Asked in companies
Citi BankDelhiverySprinklr
Note :
You do not need to print anything, just return the head of the reversed linked list. 
Problem approach

I applied three pointer approach here.
Step 1 - Initialize three pointers prev as NULL, curr as head and next as NULL.
Step 2 - Iterate through the linked list and do
next = curr->next
curr->next = prev
prev = curr
curr = next

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