Frage im Vorstellungsgespräch bei Hootsuite

Implementing the algorithm given the mathematical formula.