Consider a dynamic hashing approach for 4-bit integer keys:1. There is a main hash table of size 4.2. The 2 least significant bits of a key are used to index into the main hash table.3. Initially, the main hash table entries are empty.4. Thereafter, when more keys are hashed into it, to resolve collisions, the set of all keys corresponding to a main hash table entry is organized as a binary tree that grows on demand.5. First, the 3rd least significant bit is used to divide the keys into left and right subtrees (a 0 bit goes left, a 1 bit goes right).6. To resolve more collisions, each node of the binary tree is further sub-divided into left and right subtrees based on the 4th least significant bit (again 0 left, 1 right).7. A split is done only if it is needed, i.e., only when there is a collision.The hash table is now in the following state (a "slot" holds one key):Entry 00: empty.Entry 01: split on the 3rd bit; its left child is a slot holding one key, and its right child is split again on the 4th bit into two slots, each holding one key.Entry 10: split on the 3rd bit into two slots, each holding one key.Entry 11: a single slot holding one key (no split).Which of the following sequences of key insertions can cause the above state of the hash table (assume the keys are in decimal notation)?
- A5,9,4,13,10,7
- B9,5,10,6,7,1
- C10,9,6,7,5,13
- D9,5,13,6,10,14