📜  python 链表的大小 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:03             🧑  作者: Mango

代码示例1
def size():
  count = 0
  current_node = linked_list.head
  while(node != null):
    counter += 1
    current_node = current_node.next
  return count