python实现单链表的翻转
摘要:
#!/usr/bin/env python #coding = utf-8 class Node: def __init__(self,data=None,next = None): self.data = data self.next = next def rev(link): pre = lin 阅读全文
posted @ 2019-03-27 19:53 ExplorerMan 阅读(159) 评论(0) 推荐(0)
浙公网安备 33010602011771号