Bubble sort - missing end of line
What's the whole line (last variable) ?
data_copy[j], data_copy[j+1] = data_copy[j+1], data_copy... ?
data_copy[j], data_copy[j+1] = data_copy[j+1], data_copy... ?
2 answers ( 0 marked as helpful)
Hey Lenka,
Thank you for reaching out!
Could you please let me know which lecture you are referring to?
Kind regards,
365 Hristina
Thank you for reaching out!
Could you please let me know which lecture you are referring to?
Kind regards,
365 Hristina
Thanks, I found it already: it should be data_copy[j] 'swap method'