Domanda di colloquio di Own Company

Some coding questions in first interview. Completely random questions in the second interview.