Domanda di colloquio di Amazon

Nothing was too difficult. Bit-shifting, data structures, efficiency.