Freshworks Interview Question

Given a linked list, return true if there is a loop in it