Question 5: B-Trees 5 points Insert 29 into the B-tree below. For this B-tree you can assume the maximum degree (i.e. nu
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Question 5: B-Trees 5 points Insert 29 into the B-tree below. For this B-tree you can assume the maximum degree (i.e. nu
Question 5: B-Trees 5 points Insert 29 into the B-tree below. For this B-tree you can assume the maximum degree (i.e. number of children per node) is 5. Redraw the tree after a split is performed. 10, 20, 23, 40 1,5 15, 19 21, 22 25, 27, 34, 37 44, 50 Question 6 : Hash Tables. .5 points Consider inserting the keys 22,9,17,23,33 into a hash table of size m with the hash function h(k) = k mod m. For example if m= 5 then h(22) = 22 mod 5 = 22%5 = 2 Illustrate the result of inserting these keys using chaining (i.e. linked lists) to resolve collisions for the following hash table of size m=5. Slot 0 Slot 1 Slot 2 Slot 3 Slot 4
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!