616 views
0 0 votes

Its always a confusion how Recursion works with for loop. Explain a brief. 

Please log in or register to answer this question.

Position:
Show:

Related questions

0 0 votes
1 answers 1 answer
9.0k
9.0k views
saptarshiDey asked Jan 3, 2019
9,007 views
What will be the worst case time complexity for the following code segment?int count=0,N; for(i=0;i<N*2;i++){ for(j=0;j<i/3;i++){ for(k=0;k<j*j;k++){ count++; } } }Option...
0 0 votes
0 0 answers
1.7k
1.7k views
sripo asked Dec 20, 2018
1,672 views
i=1,j=1;For this code how many different basic blocks are there?Do we have to add begin and exit as two separate blocks?In some test series for above two linesi=1 is take...
2 2 votes
2 answers 2 answers
2.5k
2.5k views
Hardik Vagadia asked Aug 20, 2016
2,500 views
For(i=1;i<(1<<n);i++) { Do something }What is the meaning of the expression in the condition part of the for loop?