Meta Interview Question

How would you create a model to detect spam using the table.