Google interview question

question on leetcode covering mainly