Bloomberg interview question

Matrix Path BST add sibling