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

Software Engineer

Samsung
upvote
share-icon
3 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 6 months
Topics: Data structure and algorithm, Object Oriented Programming, Operating system, DBMS, Computer Networks
Tip
Tip

Tip 1 : Be consistent in competitive programming. You can practice on any online platform.
Tip 2 : Do revise the theories like OOPs, OS, etc
Tip 3 : Discuss the approach with your friends. It will help you in mastering the art of explaining your learnings to others.

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

Tip 1 : Be honest to your resume. 
Tip 2 : Highlight your major projects that you have done.

Interview rounds

01
Round
Hard
Online Coding Interview
Duration90 minutes
Interview date3 Oct 2020
Coding problem1

1. Shortest Path in a Binary Matrix

Moderate
37m average time
65% success
0/80
Asked in companies
SprinklrCIS - Cyber InfrastructureMakeMyTrip

You have been given a binary matrix of size 'N' * 'M' where each element is either 0 or 1. You are also given a source and a destination cell, both of them lie within the matrix.

Your task is to find the length of the shortest path from the source cell to the destination cell only consisting of 1s. If there is no path from source to destination cell, return -1.

Note:
1. Coordinates of the cells are given in 0-based indexing.
2. You can move in 4 directions (Up, Down, Left, Right) from a cell.
3. The length of the path is the number of 1s lying in the path.
4. The source cell is always filled with 1.
For example -
1 0 1
1 1 1
1 1 1
For the given binary matrix and source cell(0,0) and destination cell(0,2). Few valid paths consisting of only 1s are

X 0 X     X 0 X 
X X X     X 1 X 
1 1 1     X X X 
The length of the shortest path is 5.
Problem approach

This problem is an alteration to shortest path problem. For solving this I followed the approach of constfucting the adjacency matrix.
Then any shortest path algorithm can be applied. I used Floyd Warshal algorithm to solve it.

Try solving now
02
Round
Medium
Face to Face
Duration40 minutes
Interview date3 Oct 2020
Coding problem2

The interviewer was very friendly. In the start I was a bit nervous but the way he handled the interview it felt I'm with some friend of mine discussing coding problems and my subjects. The questions asked were of medium level from leetcode.

1. N Queens

Hard
55m average time
35% success
0/120
Asked in companies
AmazonAdobeIntuit

You are given an integer 'N'. For a given 'N' x 'N' chessboard, find a way to place 'N' queens such that no queen can attack any other queen on the chessboard.

A queen can be killed when it lies in the same row, or same column, or the same diagonal of any of the other queens. You have to print all such configurations.

Problem approach

We can solve this problem with the help of backtracking. The idea is to start from the first row and place Queen in each square of the first row and recursively explore the remaining rows to check if they lead to the solution or not. If the current configuration doesn’t result in a solution, backtrack. Before exploring any square, ignore the square if two queens threaten each other.

Try solving now

2. OS Questions

What is an Operating System?
Why we use semaphore?
What is paging and how is it useful.?

03
Round
Medium
HR Round
Duration45 minutes
Interview date3 Oct 2020
Coding problem1

It was a face to face discussion type round. Major questions were about myself and what are the technical fields I'm interested in. Then there were questions about which team I would like to work in(technically like machine learning oriented or testing based or something else).

1. Basic HR Questions

  • Introduce yourself
  • What are the tech stacks that you are most interested in?
  • What is your biggest strength?
  • Which team would you like to work in?
  • How did you choose your project?
Problem approach

Tip 1 : Explain your latest project with all the challenges and pros and cons of the way you handled it.
Tip 2 : Explains why you chose this project and how it helped you in leveling up your knowledge. 

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
2279 views
1 comments
0 upvotes
Companies with similar interview experiences
company logo
Software Engineer
3 rounds | 7 problems
Interviewed by Optum
7977 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