Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2017
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.35 KB | None | 0 0
  1. Baum nach Hinzufuegen von 3.0, 4.0, 5.0, 3.0 und 2.0:
  2. | |----5.0
  3. | |----4.0
  4. | | |----3.0
  5. |----3.0
  6. |----2.0
  7.  
  8. Hoehe: 2
  9. Anzahl der Elemente: 5
  10. ist Baum entartet: false
  11.  
  12. Baum nach Loeschen von 3.0:
  13. | |----5.0
  14. | |----4.0
  15. |----3.0
  16. |----2.0
  17.  
  18. Hoehe: 2
  19. Anzahl der Elemente: 4
  20. ist Baum entartet: true
  21.  
  22. Baum nach Loeschen von 4.0:
  23. | |----5.0
  24. |----3.0
  25. |----2.0
  26.  
  27. Hoehe: 1
  28. Anzahl der Elemente: 3
  29. ist Baum entartet: false
  30.  
  31. Baum nach Hinzufuegen von 4.0:
  32. | |----5.0
  33. | | |----4.0
  34. |----3.0
  35. |----2.0
  36.  
  37. Hoehe: 2
  38. Anzahl der Elemente: 4
  39. ist Baum entartet: true
  40.  
  41. Baum nach Hinzufuegen von 3.5, 2.5, 3.25 und 3.6:
  42. | |----5.0
  43. | | |----4.0
  44. | | | |----3.6
  45. | | |----3.5
  46. | | |----3.25
  47. |----3.0
  48. | |----2.5
  49. |----2.0
  50.  
  51. Hoehe: 4
  52. Anzahl der Elemente: 8
  53. ist Baum entartet: true
  54.  
  55. Baum nach Loeschen von 3.5:
  56. | |----5.0
  57. | | |----4.0
  58. | | |----3.6
  59. | | |----3.25
  60. |----3.0
  61. | |----2.5
  62. |----2.0
  63.  
  64. Hoehe: 4
  65. Anzahl der Elemente: 7
  66. ist Baum entartet: true
  67.  
  68. Baum nach Loeschen von 3.0:
  69. | |----5.0
  70. | | |----4.0
  71. | | |----3.6
  72. |----3.25
  73. | |----2.5
  74. |----2.0
  75.  
  76. Hoehe: 3
  77. Anzahl der Elemente: 6
  78. ist Baum entartet: true
  79.  
  80. Process finished with exit code 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement