getting segmentation faul in this.
kindly check the code and comment out the errors
Ll k append problem
hello @mkidwai74
u r program is not building list correctly(just try to print ur input list u will get ur mistake)
here interchnage the position of these two conditions
also handle the case k> n
can you guide me with k>n condition
do this
k=k%n
and call ur k append function only if k >0
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.
