Master Lock interview question

Explain your problem solving process