Advanced Data Structures (COP5536)

Solution - Exam 3, Sample 1


 

2. Splay: delete 5

 

 

3.       Step1:

4. (10) For the min radix priority search tree (RPST) with the range [0, 32),

                                                             /                                                     /

                                                        (23,15)   [16,24)                             (21,10)   [16,24)

                                                                                                                      \

                                                                                                                      (23,15)   [20,24)

 

 

5. (14)