摘要: 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... 阅读全文
posted @ 2016-11-25 16:43 小黄人python 阅读(759) 评论(0) 推荐(0) 编辑
摘要: 题目: 基于元素相等操作“==”定义一个单链表的相等比较函数。另请基于字典序的概念,为链表定义大于,小于,大于等于,小于等于的判断 阅读全文
posted @ 2016-11-25 11:22 小黄人python 阅读(705) 评论(0) 推荐(0) 编辑