Domanda di colloquio di AKUNA CAPITAL

coding problem was one about heaps