Domanda di colloquio di Altair Semiconductor

Some coding questions. Which was Ok