Frage im Vorstellungsgespräch bei Barclays

Writing an mathematical algorithm (in any coding language) and assessing its complexity