An open API service providing repository metadata for many open source software ecosystems.

GitHub topics: copy-binary-tree

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.

Language: C - Size: 20.5 KB - Last synced at: 5 days ago - Pushed at: over 2 years ago - Stars: 0 - Forks: 0