LL - k - reverse


why it is showing run error ?

@dhairya16 you have to reverse k elements but you are passing 3 in your function, pass k in kreverse function inside your main().

1 Like

ohh, silly mistake, thank you @sdevwrat