Deloitte interview question

fail safe and fail fast iterator