106k views
1 vote
Which of these can be sorted with a bubble sort?

['red', 'blue', 'green', 7]

{41:5,32:10, 20: 234}

​[7, 10, 2.5, 1.566]

[1, 2.5, 'book']

2 Answers

5 votes

Answer:

C

Step-by-step explanation:

ed 2021

User HarryM
by
9.0k points
0 votes
C because a bubble sort only compares numbers
User Mayer
by
8.4k points

Related questions

asked Nov 2, 2017 78.7k views
Vinay W asked Nov 2, 2017
by Vinay W
8.1k points
2 answers
0 votes
78.7k views