Google interview question

two oa questions. done through online coding webstide