DSAready
DSAready copied to clipboard
Detect Loop in a LInkedList
Given a linked list of N nodes. The task is to check if the linked list has a loop. Linked list can contain self loop.
Return true if the linkedlist contains a cycle, else return false.
Let's do it