Confusion in sample example
can someone help me understand how student will sit at seat 2, and not at seat 6 at line marked with *****\n\nvim\nInput: ["ExamRoom","seat","seat","seat","seat
can someone help me understand how student will sit at seat 2, and not at seat 6 at line marked with `*****`\n\n```vim\nInput: ["ExamRoom","seat","seat","seat","seat","leave","seat"], [[10],[],[],[],[],[4],[]]\nOutput: [null,0,9,4,2,null,5]\n\nExplanation:\nExamRoom(10) -> null\nseat() -> 0, no one is in the room, then the student sits at seat number 0.\nseat() -> 9, the student sits at the last seat number 9.\nseat() -> 4, the student sits at the last seat number 4.\nseat() -> 2, the student sits at the last seat number 2.       *****\nleave(4) -> null\nseat() -> 5, the student sits at the last seat number 5.\n```
[]