Problem
Let S = {17, 21, 12, 27, 14, 3, 29, 1, 42}.
Draw the Binary Search Tree obtained by inserting the elements of S in the order they appear in S.
Draw the hash table (using chain hashing) obtained by adding elements of S into a hash table of size 5. Use (4x + 2)%5 as hash function.