Lesson 21 of 24
Lambdas और Custom Sorting
10 min 35 XP
Lambda एक छोटा बिना नाम का function है: [capture](params) { body }। sort, count_if या for_each को अपना नियम देने के लिए यह बिल्कुल सही है।
Example: edit me and press Run
Output Loading C++ (first time takes a few seconds)
Press Run to see the result here.