What should be the output for test case if k>n
Hey Simran, mention the exact problem’s name here.
Problem name is Kth element from last in linked list
Hey Simran, K will never be greater than N in this problem, as its not mentioned. Otherwise, for this problem if K>=N then K=K%N.