mirror of
https://hub.njuu.cf/TheAlgorithms/C-Plus-Plus.git
synced 2023-10-11 13:05:55 +08:00
Update operations_on_datastructures/reverse_binary_tree.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
parent
0421f55ab0
commit
657f759cf8
@ -1,7 +1,7 @@
|
||||
/**
|
||||
* @file
|
||||
* @brief Implementation for the [Reversing a Binary
|
||||
* Tree](https://www.geeksforgeeks.org/reverse-tree-path/) recursively.
|
||||
* Tree](https://www.geeksforgeeks.org/reverse-tree-path/) recursively algorithm.
|
||||
* @details A binary tree can be reversed by swapping the left and
|
||||
* right child of a node at each node, starting from the root, and
|
||||
* cascading below. This solution aims to provide an implementation of
|
||||
|
Loading…
Reference in New Issue
Block a user