There was this question on shuffling a deck of cards. I was asked why the array length decreases at each iteration.
Intern Engineer Interview Questions
15,457 intern engineer interview questions shared by candidates
I think the one related with strings in data structures were more difficult.
Questions are not difficult. The interviewer asked me to talk about the experience that what is the most difficult problem I have met and how I solve it
apply a linkedlist by java
Find the largest sum of consecutive integers in an array?
Knapsack Problem
There was nothing unexpected. Although manager really wants to see your thinking process. He was very good at explaining the questions
The programming question consisted of writing a program to sum up the elements in an array that are divisible by two numbers given. So let's say you have an array [1, 2, 3, ... 10]. Then given two numbers, say 3 and 5, you want to sum up the numbers divisible by 3 or 5 in that array and return the value. So it would be 3+5+6+9+10. Also he asked me some general programming questions like what inheritance is and what the difference between an object and a class is.
the process question was difficult to get the improved idea.
No real difficult questions, just asked what I was interested in doing and a little about my past experience. (internship position, so it was relatively basic.) Asked a little about basic stress/strain curves.
Viewing 341 - 350 interview questions