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.
- Host: GitHub
- URL: https://github.com/basemax/deepcopybinarytreec
- Owner: BaseMax
- License: gpl-3.0
- Created: 2023-02-03T12:27:13.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-03T13:04:13.000Z (over 2 years ago)
- Last Synced: 2025-03-28T17:08:05.135Z (3 months ago)
- Topics: 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
- Language: C
- Homepage:
- Size: 20.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0