Superhuman interview question

A two pointer lc question