Entain India interview question

reverse a linked list ,code to detect loop in linked list and find the starting point