Question: DATA STRUCTURES Write a function to check if a linked list has a circle or not. The list has a circle if the next of
DATA STRUCTURES
Write a function to check if a linked list has a circle or not.
The list has a circle if the next of a node goes back to one of previous nodes
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
