Software Developer Java Interview Questions

4,309 software developer 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 361 - 370 interview questions

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