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

SDE - 1

Samsung
upvote
share-icon
3 rounds | 7 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 2 months
Topics: Data Structures and Algorithms
Tip
Tip

For Samsung do prepare for recursion with backtracking problems and also graph-related algorithms problems as these are most important parts of interview in Samsung. Also, you can find topic wise Data Structures and Algorithms problems on Codezen or Geeks For Geeks. You may refer them as I personally use these portals and they helped me a lot.

Application process
Where: Campus
Eligibility: 7

Interview rounds

01
Round
Easy
Online Coding Test
Duration 180 minutes
Interview date29 Jul 2020
Coding problem1

This was the coding round and consisted of one question only with 50 test cases and one has to pass all test cases to clear this round.

1. Minimum Time in Wormhole Network

Hard
44m average time
0/120
Asked in companies
SamsungNagarro Software

There is a source (S) and destination (D) and a spacecraft has to go from S to D. There are N number of wormholes in between which has the following properties:

Each wormhole has an entry and an exit.

Each wormhole is bi-directional i.e. one can enter and exit from any of the ends.

The time to cross the wormhole is given and the space craft may or may not use the wormhole to reach D.

The time taken to travel outside wormhole between two points (x1, y1) and (x2, y2) is given by a formula

|x1 - x2| + |y1 - y2|

 

where, (x1, y1) and (x2, y2) are the co-ordinates of two points.

 

The co-ordinates of S and D are given and we have to find the minimum time to reach D from S.

Note: It’s not mandatory to consider all the wormholes.

 

Problem approach
  • I simply used recursion with the backtracking approach here and iterated over each wormhole and call recursion with that wormhole as starting point and calculated the minimum answer.
Try solving now
02
Round
Easy
Face to Face
Duration30 minutes
Interview date29 Jul 2020
Coding problem4

1. What are stack and heap?

Problem approach
  • I simply gave him a definition of both the data structures with their particular operations and their properties.

2. Loot House

Moderate
26m average time
0/80
Asked in companies
SamsungAmazonQuikr

Find maximum possible stolen value from houses

There are n houses build in a line, each of which contains some value in it. A thief is going to steal the maximal value of these houses, but he can’t steal in two adjacent houses because the owner of the stolen houses will tell his two neighbours left and right side. What is the maximum stolen value?

 

Examples:

 

Input: hval[] = {6, 7, 1, 3, 8, 2, 4}

Output: 19

 

Explanation: The thief will steal 6, 1, 8 and 4 from the house.

 

Input: hval[] = {5, 3, 4, 11, 2}

Output: 16

 

Explanation: Thief will steal 5 and 11

 

Problem approach
  • I explained this question to the interviewer through the Dynamic programming approach by including the current element or excluding the current element and finding the maximum in both cases.
Try solving now

3. Components of android.

Problem approach
  • I explained to him all the components of android with their usage in my projects.

4. Discussion on the project(Tell me about your project)

Problem approach
  • I started by explaining to him the features and working of my projects by giving the database schema and other details. Then draw to him the basic workflow of both my projects to him.
  • After this discussion, the interviewer was happy with my response.

 

03
Round
Easy
HR Round
Duration20 minutes
Interview date29 Jul 2019
Coding problem2

1. Tell me about yourself and your family.

Problem approach
  • I gave him my brief introduction with the short information about my family members.

2. The architecture of android.

Problem approach
  • I draw the proper architecture of android and explained him properly with working of each component.
  • Finally, after evaluation I got offer from the company.

 

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