Name: Anonymous 2014-01-17 19:33
As part of my assignment I have to create a program that stores artist information such as their albums and number of band members in an AVL tree, I have successfully made an AVL tree to handle basic data types like int's and string's but I don't know how I would go about doing it so it would use type 'Artist' instead.
I guess I am more simply asking, is it possible for me to store a different object such as my 'Artist' class with the Artist name being the key, rather than me using a simpler data type like int's and string's.
Let me know if you want me to post any of my code.
I guess I am more simply asking, is it possible for me to store a different object such as my 'Artist' class with the Artist name being the key, rather than me using a simpler data type like int's and string's.
Let me know if you want me to post any of my code.