• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

mistake

 
Ranch Hand
Posts: 135
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hallo,
Here is the realization of AVL tree:



Elemnts are inserted into the tree according the value of "index" and the variable height supposed to check if the structure of AVL tree is ok. My problem is that the next element is null, it is not filled. I suppose that problem is in variable height but i am not able to fix it no matter that i spend quite a lot of time on it. so i decided to post it here. I hope that you will help me in finding the mistake. I would be really appreciated.
 
reply
    Bookmark Topic Watch Topic
  • New Topic