Number of paths

Example 0

The block below executes doSomethingWith() one billion times (1000 x 1000 x 1000).

<source lang="java"> for (i =1; i <=1000; i ++) for (j =1; j <=1000; j ++) for ( k =1; k <=1000; k++) doSomethingWith(i, j, k); </source>