Feedback for subjective question

Report on solved past papers subjective question
Question 1: Calculate the complexity of the following sort procedure
sort( A[1..n] ) {
for i = 2 to n
do
for j = n downto i
do
if( A[j-1] > A[j] )
swap(A[j-1], A[j])
}

Please login to submit feedback on subjective question.

Login Now

Account Related


Earnings Related


Funds Related


Live Related


Sponsored

Theme Customizer

Gaussian Texture



Gradient Background