# Path: common/data_structures.py
# class LinkedNode:
#     def __init__(self, value):
#         self.value = value
#         self.next = None
# 
#     def set_next(self, next_node):
#         self.next = next_node
# 
#     def get_next(self):
#         return self.next


from common.data_structures import LinkedNode


class LinkedList:

    def __init__(self):
        self.__head = None
        self.__tail = None
        self.__count = 0

    def add(self, value):
        if self.__head is None:

# Path: common/data_structures.py
# class LinkedNode:
#     def __init__(self, value):
#         self.value = value
#         self.next = None
# 
#     def set_next(self, next_node):
#         self.next = next_node
# 
#     def get_next(self):
#         return self.next


# Path: data_structures/linked_list.py
from common.data_structures import LinkedNode



class LinkedList:

    def __init__(self):
        self.__head = None
        self.__tail = None
        self.__count = 0

    def add(self, value):
        if self.__head is None:

            self.__head = LinkedNode(value)