Question: STUDY PROBLEM 1 a) What are the differences in functionality between BST and hash table? b) Imagine you have two tasks: Task A: Build a

STUDY PROBLEM 1 a) What are the differences in functionality between BST and hash table? b) Imagine you have two tasks: Task A: Build a database of employees of a large company, with a functionality to quickly search for employee record based on his/her phone number. Task B: Build a database of friends, with a functionality to find a friend by his/her birthday, and once the friend is found, having the ability to find who among friends has his/her birthday next. What data structure would you use for Task A? What for Task B? Justify your choice
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
