Domanda di colloquio di REX

A few algorithmic questions during tech/phone interview