Google interview question

Two sum and a few coding questions