Título: Which code block uses bubble sort? Publicado por: pixielott en 15 Septiembre 2020, 16:56 pm Hey,
May I know which one is bubble sort from here: 1) Código: for(int i=0;i<n-1;i++) 2) Código: for(int i=0; i<n-1; i++) Código: int temp, i, j = 0; IMO, the first is bubble sort, not sure of the second and third. Título: Re: Which code block uses bubble sort? Publicado por: MCKSys Argentina en 15 Septiembre 2020, 17:30 pm Hi!
The 2nd one is bubble sort. Cheers! PS: In case you didn't notice, this is a spanish talking forum. I'm sure you could find any in hindi language. |