Hi everyone, Recently, I was looking for short splay tree code but all codes that I could find online were very long, so I tried to write some relatively short code and I implemented this one https://ideone.com/qRJcLv . this code is short with respect to other available codes , so I'd like to share it with you. and if someone has a shorter or more efficient code please share it with us . thanks.