Pinterest interview question

It was optimization for a ticket pricing problem