Green Lambda interview question

Explanation about the technical task