+ 1

Someone please explain to me how the loop functions in any of the languages.

learning

6th Apr 2018, 8:38 PM
Cliff
Cliff - avatar
4 Answers
+ 10
Pls don't make us paste everything in here ;) Move to the learning section > type 'loop' in the search bar.
6th Apr 2018, 8:50 PM
Tashi N
Tashi N - avatar
+ 5
Nevermind, you're welcome ^^
6th Apr 2018, 8:56 PM
Tashi N
Tashi N - avatar
+ 1
I didn't know about that...well now I know thanks for the tip
6th Apr 2018, 8:54 PM
Cliff
Cliff - avatar
+ 1
It seems like you stopped the sentence in the middle. I'll answer as if you'd have ended the sentence with the word works. The loop functions I suppose you're talking about are like map, reduce, forEach and sort. They work with function callbacks, delegates, function pointers, funcional interfaces, and lambdas (They all work in basic the same way). My example will have functions. In any method described above, one "function" will be called inside a loop, and/or a recursive function. Take a look at the simple code below: https://code.sololearn.com/cn1wM9ZXkA27/?ref=app
6th Apr 2018, 9:26 PM
Maicon Mauricio
Maicon Mauricio - avatar