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

SDE - 1

Samsung
upvote
share-icon
3 rounds | 3 Coding problems

Interview preparation journey

expand-icon
Journey
I started learning to code in school during 11th grade with C++ by Sumita Arora. As I continued coding in college, I learned about Data Structures and Algorithms (DSA) and began participating in competitive programming contests. During placements, I lacked confidence due to inadequate preparation, so I didn’t aim for big companies and only took tests for campus opportunities. This has been my journey so far.
Application story
The recruiter reached out to me directly over the phone and invited me for an offline test that was held at the Samsung Noida office.
Why selected/rejected for the role?
I was selected for this role due to the following reasons: My offline coding test went well, and all test cases passed. My resume was well-structured and included a good number of projects using emerging technologies. My interviews went well, as I was confident and answered most of the questions correctly.
Preparation
Duration: 2 Months
Topics: Aptitude problems and computer science fundamentals, including cloud computing, ML/AI, blockchain, and DSA problems
Tip
Tip

Tip 1: Be confident and calm, with a subtle smile during the interview.
Tip 2: Stay informed about emerging digital technologies.
Tip 3: Work on projects related to tech stacks like C/C++, etc.

Application process
Where: Other
Eligibility: NA
Resume Tip
Resume tip

Tip 1: Keep it short and crisp (preferably one page).
Tip 2: Mention at least two projects with a brief description.

Interview rounds

01
Round
Hard
Online Coding Interview
Duration240 Minutes
Interview date20 Apr 2023
Coding problem1

One hard-level coding question with 50 test cases. The maximum time given was 4 hours. All test cases had to be cleared to proceed further.

1. Colorful Knapsack

Hard
45m average time
0/120
Asked in companies
AdobeIBMDell Technologies

You are given 'N' stones labeled from 1 to 'N'. The 'i-th' stone has the weight W[i]. There are 'M' colors labeled by integers from 1 to 'M'. The 'i-th' stone has the color C[i] which is an integer between 1 to 'M', both inclusive.

You have been required to fill a Knapsack with these stones. The Knapsack can hold a total weight of 'X'.

You are required to select exactly 'M' stones; one of each color. The sum of the weights of the stones must not exceed 'X'. Since you paid a premium for a Knapsack with capacity 'X', you are required to fill the Knapsack as much as possible.

Write a program to calculate the best way to fill the Knapsack - that is, the unused capacity should be minimized.

Try solving now
02
Round
Medium
Video Call
Duration60 Minutes
Interview date24 Apr 2023
Coding problem1
  • Exchanged introductions.
  • Explained the role at Samsung.
  • Asked a few questions on DSA but did not ask to write code.

1. Game of Numbers

Easy
20m average time
80% success
0/40
Asked in companies
HCL TechnologiesSamsung

Ninja loves playing with numbers. So one day, he wants to arrange a few numbers in the ‘N’ number of rows. The first row contains 1 number, the second row has two numbers, and so on.

On row 1, he places ‘1’. From the second row, he puts a number equal to one less than the number of the row at two ends of the row and places zeros in between.

You are given an integer ‘N’ denoting the given number of rows. Can you print the pattern Ninja wants to create?

Pattern for N = 4:

1
11
202
3003
Try solving now
03
Round
Medium
Video Call
Duration60 Minutes
Interview date28 Apr 2023
Coding problem1

Held on the Samsung Knox meeting platform.
Asked a few questions on C/C++ memory management and pointers.
A few leadership questions.

1. Implementation: HashMap

Easy
30m average time
90% success
0/40
Asked in companies
American ExpressPayPaleBay

Design a data structure that stores a mapping of a key to a given value and supports the following operations in constant time.

1. INSERT(key, value): Inserts an integer value to the data structure against a string type key if not already present. If already present, it updates the value of the key with the new one. This function will not return anything.

2. DELETE(key): Removes the key from the data structure if present. It doesn't return anything.

3. SEARCH(key): It searches for the key in the data structure. In case it is present, return true. Otherwise, return false.

4. GET(key): It returns the integer value stored against the given key. If the key is not present, return -1. 

5. GET_SIZE(): It returns an integer value denoting the size of the data structure. 

6. IS_EMPTY(): It returns a boolean value, denoting whether the data structure is empty or not. 
Note :
1. Key is always a string value.
2. Value can never be -1.
Operations Performed :
First(Denoted by integer value 1):  Insertion to the Data Structure. It is done in a pair of (key, value).

Second(Denoted by integer value 2):  Deletion of a key from the Data Structure.

Third(Denoted by integer value 3): Search a given key in the Data Structure.

Fourth(Denoted by integer value 4): Retrieve the value for a given key from the Data Structure.

Fifth(Denoted by integer value 5): Retrieve the size of the Data Structure.

Sixth(Denoted by integer value 6): Retrieve whether the Data Structure is empty or not.
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

What is recursion?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
4 rounds | 6 problems
Interviewed by Samsung
1862 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 4 problems
Interviewed by Samsung
1180 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 6 problems
Interviewed by Samsung
2181 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 5 problems
Interviewed by Samsung
399 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
114578 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
57824 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
34960 views
7 comments
0 upvotes