Samsung Bangalore (SRIB) Interview Experience for Internship
An online coding round was held on CoCubes consisting of 3 problems. All the questions had their main functions written, and we only had to write the answer function and return the result. (Pass by reference was only used)
Questions were:
1:Given a string sequence, find the minimum alphabets to be added to make it a palindrome.
ex: abcdc
OUTPUT: ba
2:It was a DFS based graph problem.
3:Given a number, find the smallest number possible after removing a given number of digits. The order of digits is retained(Given in input).
ex:7530258
4(that means we can remove four digits)
OUTPUT:025
Some questions from other sets were related to :
1:Finding Armstrong number
2:Finding The Largest prime in a given range
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. Google and Microsoft Test Serieses.



