MKTHNUM - K-th Number

Problen:http://www.spoj.com/problems/MKTHNUM/
Can someone give a detailed solution for the above problem.

I think this one quite detailed video.

Can you please provide the full video link, i am unable to open the given link in my desktop.Thanks