Asked by Vaibhav
                What is the count for the instruction CountMe as a function of n for the fragment below?
Line 1: j = 1
Line 2: while (j<= n/2) {
Line 3: i = 1
Line 4: while (i<=j) {
Line 5: CountMe
Line 6: i++
Line 7: }
Line 8: j++
Line 9: }
            
            
        Line 1: j = 1
Line 2: while (j<= n/2) {
Line 3: i = 1
Line 4: while (i<=j) {
Line 5: CountMe
Line 6: i++
Line 7: }
Line 8: j++
Line 9: }
Answers
                                                    There are no human answers yet.
                                            
                
                                                    There are no AI answers yet. The ability to request AI answers is coming soon!
                                            
                Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.