Google interview question

Asked about a leetcode problem