Assertion: queue's size | /r/HasProperty | 2 // front
Facets:
Source sentences:
text: [1, null, null, null, null, null, null]; // size = 1 // front = 0 --------------- queue.enqueue(2); // [1, 2, null, null, null, null, null]; // size = 2 // front = 0 --------------- queue.enqueue(3); // [1, 2, 3, null, null, null, null]; // size = 3 // front = 0; --------------- queue.dequeue(); // [null, 2, 3, null, null, null, null]; // size = 2 // front = 1 --------------- queue.dequeue(); // [null, null, 3, null, null, null, null]; // size = 1 // front = 2
text: [1, null, null, null, null, null, null]; // size = 1 // front = 0 --------------- queue.enqueue(2); // [1, 2, null, null, null, null, null]; // size = 2 // front = 0 --------------- queue.enqueue(3); // [1, 2, 3, null, null, null, null]; // size = 3 // front = 0; --------------- queue.dequeue(); // [null, 2, 3, null, null, null, null]; // size = 2 // front = 1 --------------- queue.dequeue(); // [null, null, 3, null, null, null, null]; // size = 1 // front = 2