HashTable BST version