mirror of
https://github.com/autistic-symposium/master-algorithms-py.git
synced 2025-04-29 12:16:14 -04:00
Update linked_list_fifo.py
This commit is contained in:
parent
08a29ececf
commit
8d8b3f7e53
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user