3 ms·For those who are curious, this solution has a name: Variable Queueby jchonphoenix 16y agoFor those who are curious, this solution has a name: Variable Queue