Klarna interview question

3 problem to solve via an online portal. You can choose either Java or JavaScript.