Splay-Tree Implementation of Splay Tree using C++. Complexity of Splay-Tree Algorithm Average Worst case Space O(n) O(n) Search amortized O(log n) amortized O(log n) Insert amortized O(log n) amortized O(log n) Delete amortized O(log n) amortized O(log n)