Cengage interview question

Outlining my process for troubleshooting