The interview was 45min long. The interviewer asked me to introduce myself and asked some behavoural questions. We then moved to the technical problem.
The question wasn't very difficult and I quickly coded the brute force solution, but I couldn't think of the optimal one and answer the follow up questions.
Questions d'entretien [1]
Question 1
The technical problem was followed by questions like "What if your input was different?" or "What if your input number was the maximum integer allowed?"