WillowTree interview question

How would you approach understanding a legacy codebase?