Questions were related to search algorithms.
Junior Software Developer Interview Questions
4,171 junior software developer interview questions shared by candidates
1st Round: Consider an array of 5 elements. You must create a new array such that at a given position 'i', the number should be product of all elements of original array except the 'i'th element. You have to solve this in least number of iterations possible.
Q: Find the sum of the largest and second largest number in a array
Given numbers 1 to 100 in an array a random number was replaced with 0. Find the which number it was in constant time (100).
They asked about my skills and knowledge.
print number 1 to 100 without any loop
Reverse a int[] array in place
whats encapsulation
If I have an array of size N that contains the numbers between 1-50, what's the most efficient way to find a duplicate?
Write program that check is string palindrome. I wrote my version of this program(see answer). Later I've been asked to change code with using recursion. I have no idea why I should use recursion here, because it will make code more difficult to understand and maintain.
Viewing 11 - 20 interview questions