Java Developer Intern Interview Questions

30,830 java developer intern interview questions shared by candidates

last round-> input stream of no.s , find count of elements minimum than this coming number in better than O(n), I told max heap but it's n/2 better than O(n) and second is BST which is difficult to implement. Interiewer was ok with heap approach but i told its better than linear but still linear then he said work it out in log n
avatar

Java Developer

Interviewed at Medlife.com

3.3
Nov 7, 2017

last round-> input stream of no.s , find count of elements minimum than this coming number in better than O(n), I told max heap but it's n/2 better than O(n) and second is BST which is difficult to implement. Interiewer was ok with heap approach but i told its better than linear but still linear then he said work it out in log n

Viewing 561 - 570 interview questions

Glassdoor has 30,830 interview questions and reports from Java developer intern interviews. Prepare for your interview. Get hired. Love your job.