Google interview question

A leetcode style problem but not a real problem on leetcode.