Skip to content

Files

Latest commit

Jun 14, 2019
e00fb09 · Jun 14, 2019

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jun 14, 2019
Jun 14, 2019

Invert a binary tree.

For example, given the following tree:

    a
   / \
  b   c
 / \  /
d   e f

should become:

  a
 / \
 c  b
 \  / \
  f e  d