Pergunta de entrevista da empresa Own Company

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