摘要:
1 #!/usr/bin/env python 2 # -*- coding:utf-8 -*- 3 4 from chapter3.single_linked_list import LNode,LinkedListUnderflow,LList 5 import random 6 7 class LList1(LList): 8 def __init__(self... 阅读全文
摘要:
题目: 基于元素相等操作“==”定义一个单链表的相等比较函数。另请基于字典序的概念,为链表定义大于,小于,大于等于,小于等于的判断 阅读全文