Frage im Vorstellungsgespräch bei Trimble

How do you implement this algorithm in a particular cross-compiler platform