Beforepay interview question

Dive in the takehome task