Klarna Interview Question

Recognize this pattern and complete it