MKTHNUM - K-th Number

Problen:SPOJ.com - Problem 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