Pinterest interview question

It was an algorithm and technical assessment.