Operations Analyst Ii Interview Questions

5,380 operations analyst ii interview questions shared by candidates

You are given a n-ary tree. Each node of the tree has these pointers: parent, left sibling, right sibling, and array of children. Now, complete a function with this objective: The function takes two arbitrary nodes: one is designated as a root node (say, A), and the second is a regular node (say, B). Now, in a depth first traversal, find whether the next node after B belongs to the subtree of A, and return the answer (yes/no).
avatar

SDE-II

Interviewed at Microsoft

4
Mar 30, 2019

You are given a n-ary tree. Each node of the tree has these pointers: parent, left sibling, right sibling, and array of children. Now, complete a function with this objective: The function takes two arbitrary nodes: one is designated as a root node (say, A), and the second is a regular node (say, B). Now, in a depth first traversal, find whether the next node after B belongs to the subtree of A, and return the answer (yes/no).

Viewing 5271 - 5280 interview questions

Glassdoor has 5,380 interview questions and reports from Operations analyst ii interviews. Prepare for your interview. Get hired. Love your job.