Home Office interview question

Tell us about all time you had to refactor some code