MathWorks interview question

Given a log file, parse through it and find the most common occurring error code