Lead Java Developer Interview Questions

18,684 lead java developer 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

Puzzle - You have a 3 and a 5 litre water container, each container has no markings except for that which gives you it's total volume. You also have a running tap. You must use the containers and the tap in such away as to exactly measure out 4 litres of water. How is this done?
avatar

Java Developer

Interviewed at Concerto Software

3.8
Feb 9, 2020

Puzzle - You have a 3 and a 5 litre water container, each container has no markings except for that which gives you it's total volume. You also have a running tap. You must use the containers and the tap in such away as to exactly measure out 4 litres of water. How is this done?

Viewing 431 - 440 interview questions

Glassdoor has 18,684 interview questions and reports from Lead java developer interviews. Prepare for your interview. Get hired. Love your job.