BHP interview question

technical