Identify Data Structure from Node
Filed under Microsoft
The question
Given a node with data, next_ptr, and prev_ptr, determine if a random pointer provided forms a Doubly Linked List, a Binary Tree, or neither.
No write-up yet. Related questions below have one.
Related Microsoft questions
Collected from public candidate posts and coding forums. Updated Nov 2026.