Google Cloud Interview Question

Simple matrix manipulation question !