Bank Rakyat Interview Question

Can you explain the difference between Method A and Method B?