Update linked_list_fifo.py

This commit is contained in:
marina 2023-08-07 15:48:20 -07:00 committed by GitHub
parent 08a29ececf
commit 8d8b3f7e53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,8 +2,7 @@
# -*- coding: utf-8 -*-
# author: bt3gl
class Node():
"""Implementation of a Node for a binary tree"""
class Node:
def __init__(self, value=None):
self.value = value
@ -16,7 +15,6 @@ class Node():
class LinkedListFIFO:
'''A Linked-List class with a first-in-first-out logic'''
def __init__(self):
self.head = None