Question d’entretien chez Microsoft

How would you use machine learning to detect bugs in code and fix them?