data_structures.linked_list.from_sequence

Attributes

linked_list

list_data

Classes

Node

Functions

make_linked_list(elements_list)

Creates a Linked List from the elements of the given sequence

Module Contents

class data_structures.linked_list.from_sequence.Node(data=None)
__repr__()

Returns a visual representation of the node and all its following nodes.

data
next = None
data_structures.linked_list.from_sequence.make_linked_list(elements_list)

Creates a Linked List from the elements of the given sequence (list/tuple) and returns the head of the Linked List.

data_structures.linked_list.from_sequence.linked_list
data_structures.linked_list.from_sequence.list_data = [1, 3, 5, 32, 44, 12, 43]