Google interview question

Leetcode questions and some alogirthms