Skip to content

Commit

Permalink
add notes
Browse files Browse the repository at this point in the history
  • Loading branch information
harishvc committed May 7, 2016
1 parent 4429f29 commit 0a9e7b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions queue-implementation-using-linked-lists.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ def __init__(self,data):

class Queue:
def __init__(self):
#IMPORTANT - reference to the head of the linked list
self.head = None

#Add new node to the tail of the linked list (queue)
Expand Down

0 comments on commit 0a9e7b3

Please sign in to comment.