Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void AddNode(int item)
- {
- TNode n = new TNode(item);
- AVLAddNode(ref root, n);
- }
- private void AVLAddNode(ref TNode p, TNode q)
- {
- if (p == null)
- {
- p = q;
- }
- ..............................
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement