Recursion

AP Computer Science A· difficulty 4/5

In-order tree traversal recursively:

  • A

    left, right, root

  • B

    root, left, right

  • C

    right, root, left

  • D

    left, root, right

    check_circle

Explanation

In-order yields sorted sequence in BST.

Want 10 more like this — adaptive to your weak spots?

Related questions