Using hash table to point to binary tree?
-
I got my data structures, binary search tree and a hash table. I am just trying to see how would I be able to have table point a a BST. So, if my table is 5 cells long. They will each point to a BST and have a total of 5 BST. My data structures are basic. http://ideone.com/EETjy < code. My constructor sets each cell in the hash table to null. So i figure I need to somehow have each cell in the hash table to point to an empty tree. Not sure how I would do that. I know I am missing some major functions in these data structure, but I purposely left it out.
-
Answer:
You need to add some missing variables first.
Christop... at Yahoo! Answers Visit the source
Related Q & A:
- How to retrieve data from table using its key?Best solution by msdn.microsoft.com
- How to skip columns empty in CSV file when importing into MySQL table using LOAD DATA INFILE?Best solution by Stack Overflow
- Can I estimate the row count of a large mysql table using the disk space?Best solution by Database Administrators
- What do a melting point and freezing point of a substance have in common?Best solution by answers.yahoo.com
- Is it possible to ban someone on PS3 using a tree patch?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.