Completed hash table and binary search tree