Linked List Cycle and Merge Sorted Lists
Given a singly linked list, check whether the list contains a cycle or not.
A cycle occurs if a node in the list points back to a previous node, forming a loop.
Return true if a cycle is present else return False.