Analysing asymptotic complexity of dictionary operations for BSTs and fundamental priority queue operations for arrays and BSTs.