Sun West Mortgage interview question

Coding questions on matrix and SQL