Google interview question

6-8 LC easy/medium problems