I am having some difficulties splaying the element 4 to the root. Considering the following splay tree.
0 \ 1 \ 2 \ 3 \ 4
Could anyone show me the steps how to get the 4 to the root?
Computer Science Stack Exchange is a question and answer site for students, researchers and practitioners of computer science. It only takes a minute to sign up.Sign up to join this community