-
Putting code together.
I have an assignment to put together a list of countries and their language and which continent they are located at. I have to design a menu and give users options to select subset of countries thru the menu, all in one continent, countries with similar languages, etc. I also have to give user an option to search for countries.
I am not sure how to put them all together. Are there sample codes out there I can look at to get an idea about my project? I was told to use binary trees. What do I use for menu?
Any help is appreciated.
Java Newbee
-
Well, you should know the basic data structures and the behavior behind the linkedlist implementation if you attempt to use binary trees...
If you really not sure how to deal with it, try to make three arrays...
store the 3 values in the same element... ( just for an experiment )...
Update us,
sukatoa
-
I think the best way is follows data structures. Rather dealing with arrays, it's really easy as well as much safer way.
-
Yep..... i agree on that....
regards,
sukatoa