Skip to content

Commit

Permalink
removed un-used import
Browse files Browse the repository at this point in the history
removed import random and added a comment
  • Loading branch information
MrWeast committed Dec 1, 2023
1 parent 54ac216 commit 4042dc0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/python/queue.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
import random


class Node:
def __init__(self, value):
self.value = value
Expand Down Expand Up @@ -46,6 +43,7 @@ def dequeue(self):
self.length -= 1

def show(self):
# first element is the head of the queue
ptr = self.head
val = []
while ptr is not None:
Expand Down

0 comments on commit 4042dc0

Please sign in to comment.