Open In App

Samsung SRIB interview experience (2018)

Last Updated : 18 Jul, 2019
Improve
Improve
Like Article
Like
Save
Share
Report

Round 1:

This was an online round which was held on Samsung’s own platform. The test duration was of 3 hours and one question was there. The constrains were like, you can do only 5 submissions, though you can compile and run the code any number of times. You can’t use any other library apart from the <stdio.h>/<iostream>. Your code must pass all the 10 test cases. The question was to find if the graph is bipartite or not. If yes, then print those vertices having color assigned as 1, given that the first source is of color 1.

Around 200 students appeared for this round, 44 were selected for the further rounds.

Round 2: 

Next round was a F2F round. My interviewer was a good person and was more inclined towards logic and understanding of the problem. He went through my resume. I had done projects and internship in Computer vision and Machine Learning. He asked me the following questions:-

  1. What is the problem with (a+b)/2. The answer is related to the integer range overflow.
  2. What is priority queue?
  3. Implement Heap and write the code for Heapify
  4. Rotations of AVL tree. What are some other Data structures apart from AVL, RB and B+- Trees which are balanced? The answer is TREAP( A mixture of Tree and Heap)
  5. Given an array and queries having range of index as input, you have you find the no. of unique elements. I gave the basic solution. Then he asked about the range queries using segment trees.
  6. Detect cycle in an undirected graph without using dfs and stack. He wanted an answer related to disjoint sets
  7. Ho to pass a 2D array to a function?
  8. What are minimum spanning trees? How to find them?

Next few questions were related to machine learning and computer vision:

  1. What is gradient descent?
  2. Is it confirmed that we will reach the global minimum every single time using the gradient descent. If not how and why and what to do in this case?
  3. Difference between local minima and global minima.
  4. Which algorithm did I use in face recognition and what were the accuracy and why they were different in different algorithms?
  5. Methods used for feature selection

Other questions asked from my friends were like, non-recursive mutex, paging, mesh technology, OSI models.

Round 3:

This round was taken by someone else. Initially, He asked me where I belong to and how to reach there. Then he asked me following questions:

  1. What is PCA( Principal Component Analysis)? How does it works? How it is used for dimensionality reduction?
  2. What is ensembling? How you ensemble different models?
  3. What is random forest?
  4. He gave me one question to write the code, given a 2D grid with mines(2), walls(0), start as (1) and destination as (3), I have to find the shortest path from source to destination. You can move in all direction apart from the diagonal.
  5. He gave me question related to prediction of a target value.The question was like:
    1. You have been given a data of an Employee with EmpId, Salary, Working hours, Awards+ Bonus, Onsite(Y/N), Ratings and appraisal, Number of years with current Manager. You have to create a model which will predict whether an employee would resign or not. I used normalization, removal of outliers, replacing of Nulls with mean, median, mode. Binning the features into ranges. Then using the entropy and information gain to form a decision tree. I also gave him another approach of using a scoring model based on a function using weights assigned to each feature.

Round 4: 

This was a kind of  HR round, He just asked us basic questions like about the place we belong from, what is AI, what is Machine Learning in a layman term.

Finally I was selected for FTE + internship.


Like Article
Suggest improvement
Previous
Next
Share your thoughts in the comments

Similar Reads