Pergunta de entrevista da empresa Jane Street

Implement Cheney's algorithm (garbage collection method)