文章列表
# coding:utf-8
class Node:
def __init__(self, value):
self.data = value
self.next = None
class LinkList:
def __init__(self, data=[0]):
self.head = None
self.init_link_list(data)
# 初始化链表
# data 为数组
def init_link_list(self, data):
if len ...