Iterative, intrusive AVL tree implementation in C