Test case is not running

test case is not passing .don’t know
where it is lagging

hi @itzzeeshu5 take input dynamically linked list can be of any length and k can have any value not the same everytime.

hi @itzzeeshu5 how to take dynamic input

doing same code what you have given but not a single a case is running

hi @itzzeeshu5 hope this doubt is clear