at time stamp 10:37, inside while function we used (k>1). whats the reason ???
Why k>1? time stamp 10:37
It is used to extract the Kth token from the string. The loop will break as soon as the kth token is extracted. So at the end string s will store the kth token.