LinkedList merge sort not working, 'NoneType' object has no attribute 'next'

后端 未结 0 1751
慢半拍i
慢半拍i 2020-12-15 23:33

class Node: def init(self,data): self.data = data self.next = None

class LinkedList: def init(self): self.head = None self.size = 0

相关标签:
回答
  • 消灭零回复
提交回复
热议问题