Company question banks are included with the Insider plan.
Given a number N, implement an allocator for the ids 0 to N - 1 with two operations:
assign() returns any id that is not currently in use, or -1 if every id is taken. The order is up to...