Superhuman interview question

Leetcode medium. Cannot disclose any specifics.