If you have an input of a list of strings and you want an output of a list of all the duplicates, how would you do that in O(n)?
Developer Intern Interview Questions
12,169 developer intern interview questions shared by candidates
There was this question on shuffling a deck of cards. I was asked why the array length decreases at each iteration.
I think the one related with strings in data structures were more difficult.
apply a linkedlist by java
Find the largest sum of consecutive integers in an array?
Knapsack Problem
Given a node in a linked list, remove the next node which contains specific value.
You don't have the GPA of other candidates, why should we consider you for this position?
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.
Viewing 261 - 270 interview questions