What will be the base case for the code of recursive bubble sort?

Danh Trịnh

New member
What will be the base case for the code of recursive bubble sort?
A.
Code:
if(n < 1)
return;
B.
Code:
if(n == 0)
return;
C.
Code:
if(n == 1)
return;
D.
Code:
If(n == 2)
return;
 

Tìm kiếm

Back
Top