to get any node from the last :first move a pointer that steps from start and after that take second pointer from start and move both pointer together until first reach at the end ..
now the second pointer points to the desire element from last
as digits or array elements are in array ..- vsingla160 March 24, 2015
so can we use count sort ??
time complexity O(n) :P