Samsung R&D, Bangalore(SRIB) recently visited Thapar Institute of Engineering & Technology for the role of Software Engineer Developer. Initial criteria was minimum CGPA of 7.5. Around 350 students satisfied this criteria and were shortlisted for online round.
Round 1 | (Online Test) -: It was 3 hour long test in which only 1 coding question need to be solved.Samsung uses its own desktop application as judge and co-cubes people were invigilating the process.The question was
Remember you need to pass each and every test case . Even if you miss single test case, you won’t be shortlisted.Your test must pass all 50/50 test cases .You can only use C++, C and Java in online test and no STL libraries are allowed.You need to implement everything from scratch.Finally 44 students were shortlisted from online test and qualified for interviews.
- Stay cool and calm.3 hours is good duration to debug your code easily.
- Try to write code on paper first and then hit keyboard.You will make much less mistakes now.
Round 2 | (Face to Face Interview – 1)-: Interviewer gave brief introduction of himself and asked me to introduce briefly.After that he gave me some sheets of paper and started giving question to me.The question was https://www.geeksforgeeks.org/segment-tree-set-1-sum-of-given-range/.He asked me to assume that that retrieval are more frequent than updates . I gave brute force approach initially.He insisted me to optimize it further.After some brainstorming I gave another approach using prefix sum array.He seemed quite satisfied . Since I was not familiar with segment trees, I didn’t tried to gave that approach though I already knew that, It could be optimized using segment tree.After this, He asked to do the same but with assumption that now updates are more frequent as compared to retrieval. I initially tried to modify mine previously given solution initially, but he insisted to optimize it further and gave a hint to do optimization using some data structure. I without wasting much time gave approach of Balanced BST | AVL or RBT. He seemed quite satisfied with mine approach and asked me to code everything on paper (He gave me 2 additional sheets).I requested him that RBT and AVL involves rotations and It would take some time to write complete code, so allow me to use STL. He said fair enoungh lets move further.He asked me to design an API to which he will throw a 2d Matrix and some mode.Mode specifies rotation 1-> 90deg 2-> 180deg 3->270deg (All anticlockwise).
I gave all in-place approaches . He seemed satisfied and asked me to code. I wrote clean, crisp and efficient code on paper.
He then quickly moved to OS.He asked me to differentiate between mutex and semaphore.
After this he moved on mine resume and asked me to explain project in which I was most comfortable with.I explained the project .He requested me to explain only mine role and all algorithms briefly which used, why i choose this project, all machine learning involved and finally he asked me to explain SVM in detail. This discussion lasted for almost 25mins but he seems satisfied. He then asked me If I have any questions. I answered that I have actually many questions for him.I asked him about work culture, future Samsung products, Korean culture in office, food etc.After giving some explanation, he requested that he can’t give complete details since its is confidential matter.Then interview ended and I was asked to wait outside.
- Try to push the interview in the direction you are most comfortable and avoid giving solutions whose complete details you don’t know completely(Like I avoided segment tree).
- Ask a lot of questions and make sure that you understand the question completely.
- Do prepare questions related to company before hand as it shows your interest in the organization
Round 3 | (Face to Face Interview – 2)
After round 2, I was asked to gave one more technical interview.This time the interviewer was director of some vertical in SRIB . He looked very serious and was not giving any expressions(Not even passing smile). He asked me from where I was.Then discussion moved to mine hometown Amritsar. He then asked me that what all I liked about it. I told him everything from Punjabi food, Durgiana Temple, Golden Temple, Wagah Border everything.He seemed to be interested and asked exact distance of Amritsar from patiala. He also inquired about modes of transportation I commonly took.After that he gave me few sheets and started giving me a question .The question was
- Given co-ordinates of mines you need to set-up a factory making sure that its far enough from mines.You can assume earth to be 2-d plane.The discussion was more of open ended type instead of related to coding.I gave him mine approach related to cumalative distance maximisation.He seemed satisfied and moved on to next question.
- Find the number of islands .I gave him solution with BFS but he insisted me to write pseudo code.I wrote psudo code then he asked me to explain each and every line.Why was i using bis .Can dfs be used etc.
- Differentiate between array and stack.
- Priority inversion https://www.geeksforgeeks.org/priority-inversion-what-the-heck/
- Some puzzle which ultimately reduced to task scheduling algorithms https://www.geeksforgeeks.org/gate-notes-operating-system-process-scheduling/
- He gave me another puzzle that assume you have a power plant in Chandigarh and you want supply power to other states .I need to make software related to this.I without much waiting answered graph.He asked me why graph, why not tree. I answered that someday Chandigarh may also need some power in future from other states.Also graph is more robust and flexible.I also gave some more corner cases in favor of graph.He seemed satisfied.
Round 3 | (HR) -:
This round was taken in groups of 3 and was more of formality than elimination.
Common HR questions like-:
- Introduce yourself
- Why Samsung?
- What other companies visited your campus?
- Would relocation to Bangalore be OK?
- Do you have any higher studies plan?
- Why do have such high CGPA ?
- Do you have any questions?
He then answered all the questions and told us to wait and that he will announce the results in the evening.
I was fortunate enough to be offered (Full Time+Internship) at Samsung R&D Bangalore(SIRB).I would like to thank geeks for geeks which helped me a lot in interview preparation.
This article is contributed by Abhishek Handa.
Feel free to ask any other questions
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.