1 / 11

Assignment 11

Assignment 11. #1 Insertion in this AVL Tree. Insert 65 . 48. 32. 50. 17. 44. 49. 78. 62. 88. #2 Removal from this AVL Tree. Remove 17. 48. 32. 78. 17. 50. 88. 92. 49. 64. #3 Removal from an AVL Tree. Delete node 60 from the AVL tree . #4 Splaying. Splay 17. 8. 3. 10.

layne
Download Presentation

Assignment 11

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Assignment 11

  2. #1 Insertion in this AVL Tree • Insert 65 48 32 50 17 44 49 78 62 88

  3. #2 Removal from this AVL Tree Remove 17 48 32 78 17 50 88 92 49 64

  4. #3 Removal from an AVL Tree Delete node 60 from the AVL tree

  5. #4 Splaying Splay 17 8 3 10 4 11 6 12 5 7 15 13 17 14

  6. Insert 10, 20, 30, 25, 15, 85, 65, 75 into a Splay tree #5 Insertion into a Splay Tree

  7. Insert nodes 20, 30, 40, 50, 25, 35, 55, 10, 65 into a 2-4 tree #6 Insertion into a 2-4 Tree

  8. Remove node 20 from this 2-4 tree #7 Delete from a 2-4 Tree

  9. Remove node 40 from this 2-4 tree #8 Delete from a 2-4 Tree

  10. Insert 20 30 40 10 50 60 into a red black tree #9 Insertion into a Red-Black Tree

  11. #10 Delete from a Red-Black Tree Delete 55 from this red black tree

More Related