UST interview question

Iterate a list using lambda expressions