Java Senior Interview Questions

6,012 java senior interview questions shared by candidates

Find minimum plotform to organise trains. arr[]={ 9:40, 9:50, 11:25}; dep[]={ 12:00, 11:20, 11:30}; Expected output : 3 Explanation: arr is arrival time of a train and dep is departure time of a train respectively. 1st train arrive at 9:40 and departure at 12:00. Before this 1st train leave station, 2nd train arrive at 9:50. So we cannot manage these 2 train in 1 plotforms. Like this we need to find minimum trains to organise all trains
avatar

Senior Software Engineer - Java

Interviewed at Ezetap

4.2
Mar 7, 2022

Find minimum plotform to organise trains. arr[]={ 9:40, 9:50, 11:25}; dep[]={ 12:00, 11:20, 11:30}; Expected output : 3 Explanation: arr is arrival time of a train and dep is departure time of a train respectively. 1st train arrive at 9:40 and departure at 12:00. Before this 1st train leave station, 2nd train arrive at 9:50. So we cannot manage these 2 train in 1 plotforms. Like this we need to find minimum trains to organise all trains

(1) Most of the interviewers wanted me to explain what I have done in specific and some Technical details about projects. (2) But last few minutes they seem like just have to make me write on white board some code which we never write in daytoday like CS fundamental code and got deeper dive(but have written all). These are the questions are more nobody on earth will write in real projects and is it real way to test our coding skills ?
avatar

Senior Java Develoiper

Interviewed at Consensus Corporation

3.4
Apr 2, 2016

(1) Most of the interviewers wanted me to explain what I have done in specific and some Technical details about projects. (2) But last few minutes they seem like just have to make me write on white board some code which we never write in daytoday like CS fundamental code and got deeper dive(but have written all). These are the questions are more nobody on earth will write in real projects and is it real way to test our coding skills ?

Viewing 261 - 270 interview questions

Glassdoor has 6,012 interview questions and reports from Java senior interviews. Prepare for your interview. Get hired. Love your job.