MCPcopy Create free account
hub / github.com/ashishps1/awesome-leetcode-resources / ListNode

Class ListNode

patterns/python/fast_and_slow_pointers.py:1–4  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1class ListNode:
2 def __init__(self, x):
3 self.val = x
4 self.next = None
5
6class FastAndSlowPointers:
7 # LeetCode 141 - Linked List Cycle (HashSet Approach)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected