Adyen Interview Question

Backtracking question for technical round