Chengwei LEI, Ph.D.    Associate Professor

Department of Computer and Electrical Engineering and Computer Science
California State University, Bakersfield

CMPS 3120 Algorithm Analysis

 

Transform and Conquer

 


Solution


Searching Problem: Given a (multi)set S of keys and a search key K, find an occurrence of K in S, if any

Solution(AVL tree)

Solution(2-3 tree)

Solution(heap)