• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 86
  • Last Modified:

AvlTree-Node Data type

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
José Santos
Asked:
José Santos
  • 3
1 Solution
 
John TsioumprisSoftware & Systems EngineerCommented:
R language supports OO so i don't see any limitation in this...
0
 
José SantosStudentAuthor Commented:
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
 
John TsioumprisSoftware & Systems EngineerCommented:
I guess is better to start constructing it and then worry for efficiency
0
 
John TsioumprisSoftware & Systems EngineerCommented:
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now