Google interview question

DSA problems, edge cases, complexity...