Software Engineer Java Interview Questions

4,188 software engineer java interview questions shared by candidates

Given a binary tree, a node is visible if the value it holds is no greater than all the values along the path from the root. Write pseudo-code for an efficient algorithm to find the number of visible nodes in this tree.
avatar

Java Software Developer

Interviewed at IMC Trading

4.1
Apr 18, 2015

Given a binary tree, a node is visible if the value it holds is no greater than all the values along the path from the root. Write pseudo-code for an efficient algorithm to find the number of visible nodes in this tree.

Viewing 341 - 350 interview questions

Glassdoor has 4,188 interview questions and reports from Software engineer java interviews. Prepare for your interview. Get hired. Love your job.