1p3a_oj Question

Manage ID Pool

Question Details

Implement a class to manage an ID pool. The ID range is [1, MaxLong]. Implement two methods: acquire(): Returns the smallest available ID from the pool, marking it as occupied. release(id):

Full Details

🔒

Unlock all Roblox questions

Full insider details, leaked discussions, and candidate experiences.

or every company, $100/year →