Skip to main content
0

Four loops you will write forever

Summing, counting, finding the best and searching. Almost every loop in real code is one of these four patterns, or a mix of them.