BNP Paribas interview question

how to handle mutating table error