Barclays Interview Question

case