Capital One Interview Question

when you have to shift priority