LinkedList detect & circle