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?

José SantosStudentAsked:
Who is Participating?
John TsioumprisConnect With a Mentor Software & Systems EngineerCommented:
I guess is better to start constructing it and then worry for efficiency
John TsioumprisSoftware & Systems EngineerCommented:
R language supports OO so i don't see any limitation in this...
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?
John TsioumprisSoftware & Systems EngineerCommented:
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.