Internship Interview Questions

104,791 internship interview questions shared by candidates

Q: Given an n-ary tree of resources arranged hierarchically such that height of tree is O(Log N) where N is total number of nodes (or resources). A process needs to lock a resource node in order to use it. But a node cannot be locked if any of its descendant or ancestor is locked.
avatar

Software Engineer(Internship)

Interviewed at JUSPAY

4
Aug 5, 2021

Q: Given an n-ary tree of resources arranged hierarchically such that height of tree is O(Log N) where N is total number of nodes (or resources). A process needs to lock a resource node in order to use it. But a node cannot be locked if any of its descendant or ancestor is locked.

Viewing 591 - 600 interview questions

Glassdoor has 104,791 interview questions and reports from Internship interviews. Prepare for your interview. Get hired. Love your job.