Tree: Depth-First Search - Invert Binary Tree
Consider the invertTree function below. What will be the output when called with a single-node tree (root value 5, no children)?
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions