nowcoder-python/common/ListNode.py
2022-03-01 16:09:56 +08:00

9 lines
172 B
Python

#!/usr/bin/env python3
# @author 轩辕龙儿
# @date 2022/3/1
# @file ListNode.py
class ListNode:
def __init__(self, x):
self.val = x
self.next = None