Meta Interview Question

Sql - 2 Hard product sense question