Solved

AvlTree-Node Data type

Posted on 2017-03-18
4
12 Views
Last Modified: 2017-03-18
I'm creating an Avl tree to sort information about some countries. I want each node to be a list with 2 parameters being the name of the country the first and the information specific to the country  the second. Is it possible the second parameter of the node to be another avl tree?

Thanks.
0
Comment
Question by:José Santos
  • 3
4 Comments
 
LVL 15

Expert Comment

by:John Tsioumpris
R language supports OO so i don't see any limitation in this...
0
 

Author Comment

by:José Santos
I don't know why it has identified has R language, probably missclicked. I'm doing this in python, is there any problem in terms of efficiency?
0
 
LVL 15

Accepted Solution

by:
John Tsioumpris earned 500 total points
I guess is better to start constructing it and then worry for efficiency
0
 
LVL 15

Expert Comment

by:John Tsioumpris
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Join & Write a Comment

Suggested Solutions

Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question