Thumbtack interview question

Coding question, can't disclose