Skip to content
Related Articles

Related Articles

Samsung R & D Banglore Intern Interview Experience
  • Difficulty Level : Easy
  • Last Updated : 18 Jul, 2019

Round 1 – Coding Round:

The first round was a coding round. There were different set of questions for each candidate. The questions in my set were:

1) Find the path between two nodes in a tree.
2) A simple array based question.

3) Count the leaf nodes of a tree.
Around 65 students qualified this round. The people who solved atleast 2 of the 3 problems qualified. We were expected to solve the problems in best time and space complexities.

Round 2 – Pen and Paper Round:

In this Round, we were expected to code a problem with proper comments, and discuss it with the Samsung Interviewers around. The problem was:

Given a matrix consisting of 1’s and 0’s, 0 denoting the blocked cell, and 1 denoting the safe cell, our aim was to reach from cell (1, 1) to cell (N, M) in minimum number of steps. We are allowed to move in any one of the 4 directions, left, right, up and down. The output was minimum number of steps required. We were not allowed to use any standard inbuilt data structures.

Approach: Use BFS to find the shortest path from source to destination, with each node (i, j) having 4 edges at most (i-1, j), (i+1, j), (i, j-1) and (i, j+1).

The people who were able to code the problem by making use of BFS qualified for next round. People who used DFS to approach the problem were out.

45 people were shortlisted for the interviews.

Round 3 – Interview:

The interview was quite easy, and lasted for 5-10 minutes. Basic questions like:

  1. Check whether a given number is power of 2 or not. (Check whether the number of set bits are 1 or not) –
  2. Count the number of set bits in a given number.
  3. Given a string, reverse it word wise without using any extra space in O(N) time. –

My friends were asked with some puzzles as well, but all of them were common ones and can be found on gfg easily.

32 candidates were selected for internship.!

Final Verdict: SELECTED!!

Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.  To complete your preparation from learning a language to DS Algo and many more,  please refer Complete Interview Preparation Course.   In case you are prepared, test your skills using TCS, Wipro, Amazon and Microsoft Test Serieses.

My Personal Notes arrow_drop_up
Recommended Articles
Page :