CIBC interview question

how to solve a difficult problem