* Function to find loop starting node . loop_node -- > Pointer to one of the loop * nodes head -- > Pointer to the start node of the linked list
function getLoopstart ( loop_node , head ) { var ptr1 = loop_node ; var ptr2 = loop_node ;