TRM Labs Interview Question

Resolve a technical problem using queues. Code correction online.