Senior Software Developer Java Interview Questions

97,955 senior software developer java interview questions shared by candidates

Core Java questions & this person was also not aware about the immutability concept properly except what is given on internet. I had to teach him the immutability of class & object, else for this person both are same.
avatar

Senior Java Developer

Interviewed at Morgan Stanley

3.9
Apr 22, 2020

Core Java questions & this person was also not aware about the immutability concept properly except what is given on internet. I had to teach him the immutability of class & object, else for this person both are same.

Considering a 2-dimension matrix that can only be traversed by 1 adjacent position at a time and never diagonally. Create an algorithm to traverse that matrix from its upper-left corner to its lower-right corner using the shorter possible path in the most efficient way.
avatar

Senior Software Engineer

Interviewed at Oracle

3.5
Mar 19, 2009

Considering a 2-dimension matrix that can only be traversed by 1 adjacent position at a time and never diagonally. Create an algorithm to traverse that matrix from its upper-left corner to its lower-right corner using the shorter possible path in the most efficient way.

Given an integer array, write a program that returns an array with elements = product of the integers in input array except the one in its position. Ex: Given input: [2, 3, 10, 4, 5], output: [600, 400, 120, 300, 240] What is the complexity of your program? When will your program not work? Below is what I presented (O(n)), but it did not qualify me for the next round.
avatar

Senior Software Engineer

Interviewed at Zocdoc

3.6
Jun 9, 2014

Given an integer array, write a program that returns an array with elements = product of the integers in input array except the one in its position. Ex: Given input: [2, 3, 10, 4, 5], output: [600, 400, 120, 300, 240] What is the complexity of your program? When will your program not work? Below is what I presented (O(n)), but it did not qualify me for the next round.

Viewing 41 - 50 interview questions

Glassdoor has 97,955 interview questions and reports from Senior software developer java interviews. Prepare for your interview. Get hired. Love your job.