http://en.wikipedia.org/wiki/Splay_tree
http://www.youtube.com/watch?v=G5QIXywcJlY
Splay trees
Posted on August 9, 2013 (Last modified on August 7, 2020) | 1 minutes | Kinshuk Chandra
A sorting algorithm is an algorithm that sorts the data into some order, say from ascending to descending.
The sorting problem
Input: Array of numbers , unsorted. Eg.
Output : Same numbers sorted in some order, say increasing order. Eg.
Classification of sorting algorithms
Sorting algorithm can be classified in various ways.
Comparison sorts vs non comparison sorts
Various sorts
Here is the implemenation in cpp
http://chanduthedev.blogspot.in/2012/11/c-program-rearrange-linkedlist-first-odd-next-even-elements.html