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

Software Engineer

Samsung
upvote
share-icon
3 rounds | 5 Coding problems

Interview preparation journey

expand-icon
Journey
I started my coding journey in Feb 2020. Firstly, I solved approximately 50-60 questions on the Hackkerank platform to brush up on my programming syntax and warmup. Then, I start coding on Leetcode and GFG platforms simultaneously.
Application story
I got a referral from my friend and got the opportunity to get an Interview for the Software Engineer role. There was a TR interviewer who took my technical interview. After a clear TR round, I got an HR interview mail invitation.
Why selected/rejected for the role?
I had a moderate level of coding and a deep understanding of programming skills. I was able to solve questions asked me during the selection process. Also, good communication skill is more than required.
Preparation
Duration: 2 Months
Topics: Data Structures & Algorithms, Operating System, Object-Oriented Programming System, DBMS, CN
Tip
Tip

Tip 1: Prepare some Projects
Tip 2: Practice At least 250 Questions of DS algo
Tip 3: Do at least two application based projects

Application process
Where: Referral
Eligibility: No
Resume Tip
Resume tip

Tip 1: Have some projects on your resume.
Tip 2: Do not put false things on your resume.

Interview rounds

01
Round
Easy
Video Call
Duration60 Minutes
Interview date17 Dec 2022
Coding problem2

1. Merge Sort Linked List

Moderate
10m average time
90% success
0/80
Asked in companies
AdobeSamsung R&D InstituteHCL Technologies

You are given a Singly Linked List of integers. Sort the Linked List using merge sort.

Merge Sort is a Divide and Conquer algorithm. It divides the input into two halves, calls itself for the two halves, and then merges the two sorted halves. The merge() function is used for merging two halves. The merge(arr, L, M, R) is a key process that assumes that arr[L..M] and arr[M + 1...R] are sorted and merges the two sorted subarrays into one.

Problem approach

1. If the size of the linked list is 1, then return the head
2. Find mid using The Tortoise and The Hare Approach
3. Store the next of mid in head2, i.e., the correct sub-linked list.
4. Now, Make the next midpoint null.
5. Recursively call mergeSort() on the left and right sub-linked lists and store the new head of the left and right linked list.
6. Call merge() given the arguments new heads of left and right sub-linked lists and store the final head returned after merging.
7. Return the final head of the merged linked list.

Try solving now

2. The Celebrity Problem

Moderate
30m average time
60% success
0/80
Asked in companies
OlaVisaApple

There are ‘N’ people at a party. Each person has been assigned a unique id between 0 to 'N' - 1(both inclusive). A celebrity is a person who is known to everyone but does not know anyone at the party.

Given a helper function ‘knows(A, B)’, It will returns "true" if the person having id ‘A’ know the person having id ‘B’ in the party, "false" otherwise. Your task is to find out the celebrity at the party. Print the id of the celebrity, if there is no celebrity at the party then print -1.

Note:
1. The helper function ‘knows’ is already implemented for you.
2. ‘knows(A, B)’ returns "false", if A doesn't know B.
3. You should not implement helper function ‘knows’, or speculate about its implementation.
4. You should minimize the number of calls to function ‘knows(A, B)’.
5. There are at least 2 people at the party.
6. At most one celebrity will exist.
Try solving now
02
Round
Medium
Video Call
Duration60 Minutes
Interview date22 Dec 2022
Coding problem2

1. Find Number Of Islands

Moderate
34m average time
60% success
0/80
Asked in companies
WalmartShareChatAmazon

You are given a 2-dimensional array/list having N rows and M columns, which is filled with ones(1) and zeroes(0). 1 signifies land, and 0 signifies water.

A cell is said to be connected to another cell, if one cell lies immediately next to the other cell, in any of the eight directions (two vertical, two horizontal, and four diagonals).

A group of connected cells having value 1 is called an island. Your task is to find the number of such islands present in the matrix.

Try solving now

2. Reverse Only Letters

Easy
15m average time
85% success
0/40
Asked in companies
AppleOYOPayPal

You are given a string, ‘S’. You need to reverse the string where characters that are not an alphabet stay in the same place, and the rest reverse their positions.

Eg: “a-bcd” becomes “d-cba”

Try solving now
03
Round
Easy
HR Round
Duration40 Minutes
Interview date26 Dec 2022
Coding problem1

1. Basic HR Questions

Tell me about yourself.
Tell me about your project and internship experience.
What are your hobbies?

Problem approach

Tip 1 : Focus on the way you present your projects.
Tip 2 : Be polite and confident

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
Software Engineer
3 rounds | 4 problems
Interviewed by Samsung
2936 views
0 comments
0 upvotes
company logo
Software Engineer
2 rounds | 3 problems
Interviewed by Samsung
1377 views
0 comments
0 upvotes
company logo
Software Engineer
2 rounds | 2 problems
Interviewed by Samsung
1596 views
1 comments
0 upvotes
company logo
Software Engineer
3 rounds | 5 problems
Interviewed by Samsung
2173 views
1 comments
0 upvotes
Companies with similar interview experiences
company logo
Software Engineer
3 rounds | 7 problems
Interviewed by Optum
7976 views
1 comments
0 upvotes
company logo
Software Engineer
5 rounds | 5 problems
Interviewed by Microsoft
10148 views
1 comments
0 upvotes
company logo
Software Engineer
2 rounds | 4 problems
Interviewed by Amazon
4448 views
1 comments
0 upvotes