Pergunta de entrevista da empresa SAP

Coding ques will be easy. But will ask you Time and Space Complexity and to decrease it if possible.