Advertisement
Guest User

Untitled

a guest
Mar 26th, 2017
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.21 KB | None | 0 0
  1. public void AddNode(int item)
  2. {
  3.     TNode n = new TNode(item);
  4.     AVLAddNode(ref root, n);
  5. }
  6. private void AVLAddNode(ref TNode p, TNode q)
  7. {
  8.     if (p == null)
  9.     {
  10.     p = q;
  11.     }
  12.     ..............................
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement