https://github.com/dibyendumajumdar/avl
AVL Tree in C
https://github.com/dibyendumajumdar/avl
avl avl-tree avl-tree-implementations
Last synced: about 2 months ago
JSON representation
AVL Tree in C
- Host: GitHub
- URL: https://github.com/dibyendumajumdar/avl
- Owner: dibyendumajumdar
- License: mit
- Created: 2024-01-10T00:13:48.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-10T23:16:52.000Z (over 2 years ago)
- Last Synced: 2025-03-06T10:21:31.471Z (over 1 year ago)
- Topics: avl, avl-tree, avl-tree-implementations
- Language: C
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AVL Tree in C
AVL Tree where values are copyable, i.e. primitive types, pointers or struct types.
A macro acts as template to generate the code for given value type.
Example:
```C
#include "avl.h"
// Generate AVL Tree code for int values.
AVLTREE(int)
```
See `avltest.c` for example of how to use it.
You must provide some helper functions:
* Memory allocation and release
* Comparison
Enjoy!