There is a fine line between self-confidence and arrogance. When I interview people for engineering roles, the smartest people write down the question and work through it. The people who think they were the smartest try to do it in their heads and get it wrong.