rubber duck debugging

In software, we do something called ‘rubber duck debugging’. It’s where you tell a little rubber duck about the problem you are trying to solve, and you end up solving it yourself while you’re explaining it.