Java Programmer Interview Questions

26,887 java programmer 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 511 - 520 interview questions

Glassdoor has 26,887 interview questions and reports from Java programmer interviews. Prepare for your interview. Get hired. Love your job.