CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

# Thread: Hi i need to find a solution for this question

1. Junior Member
Join Date
Jan 2021
Posts
1

## Hi i need to find a solution for this question

In the following questions, the set of input data is based on 1171234 The set of numbers you will extract is as follows: N1 = 1st digit; N2 up to N7 = the set of pairs in the number above; N8 = the last digit in your student ID. , then show the extracted pairs in a table containing each pair of consecutive numbers as follows: Original 1st N1 N2 N3 N4 N5 N6 Last St.

Question 1) a. Insert the sequence of generated numbers in the last step into an AVL tree starting with an empty tree and show all your steps.

b. Delete the number 11 from your tree. * For this part, consider that there is no redundancy of the generated pairs.

Question 2) Consider a Hash table of size 13, and the hash function is h (x) = x mod size and consider the original set of pairs generated from your student ID:

a. Using linear probing, generate a hash table to store the sequence of numbers and show all your steps (as shown in the lecture) and the change in the hash table. b. Using quadratic probing, generate a hash table of the sequence of numbers and show all your steps (as shown in the lecture) and the change in the hash table.

Can any one help

3. ## Re: Hi i need to find a solution for this question

Victor' that was a well written post from Guido.

4. ## Re: Hi i need to find a solution for this question

Yes, Arjay! I know it.
Frankly, I miss him...
Do you have some info about Guido?

5. ## Re: Hi i need to find a solution for this question

Can any one help
What help do you need? What have you done already? What part are you having difficulty with?

Post the code you have already. As this seems to be an exercise, we won't write the code for you but will advise and guide on your code.

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•

Click Here to Expand Forum to Full Width

Featured