Internship Software Engineer Interview Questions

23,475 internship software engineer interview questions shared by candidates

I had 2 rounds of interview. In the first interview ,the interviewer asked me to explain my approach to the problem in the coding test. It was a pretty long discussion. The question asked was falling squares. The second question was check the duplicates in an array if the range of the numbers in the array is 1 to n where n is the length of the array. The interviewer expected an O(n) time and O(1) space solution. Third question was how can you check if the number is a power of 8 in log(n) time and O(1) space. Then he discussed in great detail about unordered_maps,hashmaps and hashsets. Then he discussed with me on my projects in detail. After that ,he discussed with me about oops concepts and operating systems. In second interview, the interviewer was more focussed on my competitive programming skills. At first he discussed with me my projects and asked me to explain the working of Connvolutional Neural Networks as my projects revolved around that. Then the first question he asked me was ," We can swap elements with difference in index = k any number of times,check whether the array can be sorted this way or not".The answer was make a copy of the array,sort it and use binary search to check whether the difference between the index was a multiple of k or not. He asked me how I would deal with duplicates ,so I used lower bound and upper bound to improve the answer,the interviewer was satisfied.The second question was find the maximum probability path and the maximum probability going from source to destination node where each edge had some probability associated with it. It was based of some modification in dijkstra.
avatar

Software Engineer(Internship)

Interviewed at BuyHatke

4.6
Oct 6, 2020

I had 2 rounds of interview. In the first interview ,the interviewer asked me to explain my approach to the problem in the coding test. It was a pretty long discussion. The question asked was falling squares. The second question was check the duplicates in an array if the range of the numbers in the array is 1 to n where n is the length of the array. The interviewer expected an O(n) time and O(1) space solution. Third question was how can you check if the number is a power of 8 in log(n) time and O(1) space. Then he discussed in great detail about unordered_maps,hashmaps and hashsets. Then he discussed with me on my projects in detail. After that ,he discussed with me about oops concepts and operating systems. In second interview, the interviewer was more focussed on my competitive programming skills. At first he discussed with me my projects and asked me to explain the working of Connvolutional Neural Networks as my projects revolved around that. Then the first question he asked me was ," We can swap elements with difference in index = k any number of times,check whether the array can be sorted this way or not".The answer was make a copy of the array,sort it and use binary search to check whether the difference between the index was a multiple of k or not. He asked me how I would deal with duplicates ,so I used lower bound and upper bound to improve the answer,the interviewer was satisfied.The second question was find the maximum probability path and the maximum probability going from source to destination node where each edge had some probability associated with it. It was based of some modification in dijkstra.

Viewing 3491 - 3500 interview questions

Glassdoor has 23,475 interview questions and reports from Internship software engineer interviews. Prepare for your interview. Get hired. Love your job.