You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#CR comment: I think rear term should be used in def front(self). [-1] is the rear of the queue. using front is slightly confusing. Though it won't affect the outcome
Copy file name to clipboardExpand all lines: data_structures/6_Queue/Exercise/binary_numbers.py
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -22,10 +22,12 @@ def size(self):
22
22
23
23
deffront(self):
24
24
returnself.buffer[-1]
25
+
#CR comment: I think rear term should be used here. [-1] is the rear of the queue. using front is slightly confusing. Though it won't affect the outcome
0 commit comments