Lambdas in C++
This is NOT a tutorial. This article contains pointers to some good tutorials.
or from youtube
several interesting puzzles are given in the above video. I’d like to screenshot the puzzles here and the screenshot contains a timestamp of the video. If you are confused about the puzzle, you can know where you can go to check the video.
Simple puzzle to get started
This one below is less confusion and more clear.