Implement interval room counter and token manager | Microsoft Coding Question