Code360 powered by Coding Ninjas X Naukri.com. Code360 powered by Coding Ninjas X Naukri.com
Samsung interview experience Real time questions & tips from candidates to crack your interview

SDE - 1

Samsung
upvote
share-icon
3 rounds | 6 Coding problems

Interview preparation journey

expand-icon
Journey
I started my coding journey in my second year of graduation. I asked and consulted seniors on how to start my career. I started doing DSA. In starting I was not serious about my practice of DSA but in the seventh semester, I started practicing DSA on regular basis. Meanwhile, I also learned Web Development in the last phase of the third year. Then, I was ready to apply to different companies.
Application story
I got to know about the openings and that the hiring drive of Samsung going to visit our college to hire candidates as SDE-1. II was very interested in these openings as Samsung is a great organisation and for that reason, I prepared myself for the same and after the selection process, I got the offer letter.
Why selected/rejected for the role?
I was giving correct explanation for my solutions in the coding round. I also built the optimal solution starting from the brute force algorithm which also added to my points.
Preparation
Duration: 2.5 months
Topics: Data Structures and Algorithms,Object-Oriented Programming System, Operating system,Database Management System
Tip
Tip

Try to do Data Structures and Algorithms based questions and firstly attempt it yourself before going to the solution, also try to do it as quickly as you can. Also prepare for theory subjects like Operating system, Database Management System, etc which I prepared through Coding Ninjas subjective notes and they are very accurate and up to mark.

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

Keep your resume simple and complete. Mention some good level projects, your previous experiences and coding achievements if any.

Interview rounds

01
Round
Easy
Online Coding Test
Duration90 minutes
Interview date25 Jul 2019
Coding problem1

This was the coding round with only one coding question having 50 test cases and one have to pass all test cases to clear this round.

1. Minimum Cost

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

You have given two strings 'str1' and 'str2'. Find the minimum operations required to convert str1 into str2. 

 

Problem approach
  • I simply used greedy approach for solving this using two pointers.
Try solving now
02
Round
Easy
Face to Face
Duration40 minutes
Interview date31 Jul 2019
Coding problem3

This was face to face interview round.

1. Detect loop

Moderate
15m average time
80% success
0/80
Asked in companies
ThalesTech MahindraCIS - Cyber Infrastructure

Detect cycle in a linked list.

 

Problem approach
  • To find cycle I simply use two pointers approach of slow and fast pointers and if they meet there is cycle in loop.
Try solving now

2. Number of Pairs with Given Sum

Moderate
39m average time
60% success
0/80
Asked in companies
AmazonSamsungCisco

Given an array of integers, and a number ‘sum’, find number of pairs in the array whose sum is equal to given sum.

 

Examples :

Input  :  arr[] = {1, 5, 7, -1, 5},  

         sum = 6

Output : 3 [ Pairs are (1, 5) (7, -1) (1, 5)]

 

Problem approach
  • Firstly I told the interviewer brute force to solve this question by considering each pair and their sum then he asked me to reduce time complexity. I then used sorting and two pointer approach to solve this question. He asked me to write its code, so wrote a fully commented code for him and he made me dry run on few test cases and it was giving correct answers for all questions.
Try solving now

3. Day 4 : Closest Distance Pair

Easy
20m average time
0/40
Asked in companies
SamsungFlipkartAmazon

  Given n (x,y) coordinates on a 2D plane Find the distance between the closest points.

Problem approach
  • The approach which was coming in my mind was only brute force at that time so I asked for a hint from the interviewer he asked me to use divide and conquer but I could not figure out and not able to solve this question.
Try solving now
03
Round
Easy
HR Round
Duration40 minutes
Interview date31 Jul 2019
Coding problem2

This was HR round and he asked me few basic questions.

1. Tell me about yourself.

Problem approach
  • Gave him my basic intro that is the name, family background, hobbies, and interests.

2. A most challenging task in your Btech.

Problem approach
  • Told him about the difficulty facing in managing the team for a college-related project which mainly involves juniors who have less knowledge of the technology used in the project.

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 write a single-line comment in C++?

Choose another skill to practice
Start a Discussion
Similar interview experiences
company logo
SDE - 1
4 rounds | 6 problems
Interviewed by Samsung
1169 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 6 problems
Interviewed by Samsung
1621 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 3 problems
Interviewed by Samsung
1032 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 5 problems
Interviewed by Samsung
110 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
104643 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
49760 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
31028 views
6 comments
0 upvotes