This comment is hidden because it contains spoiler information about the solution
From my solution on Leet Code
Yes, [0] * 10 means exactly that. You can also initialize with empty_list = [None] * 10
They are I just did it. Did you read the description that you do not change the order of customers' list?
For those postceeds me: "The order of the queue NEVER changes, and"
Loading collection data...
This comment is hidden because it contains spoiler information about the solution
From my solution on Leet Code
Yes, [0] * 10 means exactly that. You can also initialize with empty_list = [None] * 10
They are I just did it. Did you read the description that you do not change the order of customers' list?
For those postceeds me:
"The order of the queue NEVER changes, and"