Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python size of linked list

def size():
  count = 0
  current_node = linked_list.head
  while(node != null):
    counter += 1
    current_node = current_node.next
  return count
 
PREVIOUS NEXT
Tagged: #python #size #linked #list
ADD COMMENT
Topic
Name
2+6 =