An open API service indexing awesome lists of open source software.

https://github.com/basemax/deepcopybinarytreec

A C program to deep copy a binary tree. Deep copy means that any changes made to the new binary tree don't affect the original binary tree. Both recursive and iterative algorithms are implemented. The iterative algorithm a few lines of code and uses a variable to keep track of the current node.
https://github.com/basemax/deepcopybinarytreec

bin-tree binary-tree binary-trees bintree c copy-binary-tree copy-tree data-structure datastructure deep-copy deepcopy ds queue queue-algorithm queues tree

Last synced: 2 months ago
JSON representation

A C program to deep copy a binary tree. Deep copy means that any changes made to the new binary tree don't affect the original binary tree. Both recursive and iterative algorithms are implemented. The iterative algorithm a few lines of code and uses a variable to keep track of the current node.

Awesome Lists containing this project