employer cover photo
employer logo
employer logo

Volt Information Sciences

Is this your company?

Volt Information Sciences Interview Question

Write an algorithm which takes as input a node and returns whether or not the tree structure contains a loop. Assume that a node has at most two pointers to children, but no pointers to parents.