Posts by withnoname • 11 points
1 post
-
1
votes0
answers71
viewsQ: see how many times a number changes position in c++ using Bubblesort
Could someone give an example of how I would do that? Type, a size 5 vector, with the following numbers: 33.64.21.85 and 15. I wonder how many times he compares the numbers and performs the…