How will i take a linked list with a loop as input??
Sample input does not explain it properly.
Cycle detection and removal
don’t worry about input… u just have to complete the function to detect and and remove loop
refer this --> https://ide.codingblocks.com/s/621411
what is unordered map? I have not covered it yet.
its also one of the data structure… u will learn about as u proceed in course
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.