Xendit interview question

Logical question in relation to your thinking process