Ashby Interview Question

How would you approach fixing the bug?