I have created a program for making last element null
Seems kinda complicated to me , is there any simple way
and how can i test my program.
I have created a program for making last element null
Seems kinda complicated to me , is there any simple way
and how can i test my program.
@nishchay-verma what are u trying to do?? do u simply want to detect if there is cycle present or not??
i want to break the cycle and make last node as null
how can u make last node NULL. ig u want the last node to point to null where cycle was detected??
this is my personal code for cycle detection and removal. if u still face any issues u can msg back here…
yes i got it…Thanks
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.
hey @nishchay-verma was there still anything that was not clear to u. i closed the doubt only when u said that u got it. may i know the reason why every time u are giving this poor rating?? If things are not clear then let us no na