Frage im Vorstellungsgespräch bei Google

create an algorithm for a problem, optimize it, O - notation