Klarna interview question

Recognize this pattern and complete it