Skip to content

Commit 4042dc0

Browse files
committed
removed un-used import
removed import random and added a comment
1 parent 54ac216 commit 4042dc0

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/python/queue.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
import random
2-
3-
41
class Node:
52
def __init__(self, value):
63
self.value = value
@@ -46,6 +43,7 @@ def dequeue(self):
4643
self.length -= 1
4744

4845
def show(self):
46+
# first element is the head of the queue
4947
ptr = self.head
5048
val = []
5149
while ptr is not None:

0 commit comments

Comments
 (0)