166k views
19 votes
LORD PLEASE HELP ME, Which list can be sorted with a bubble sort?

{1:5, 2:7, 3:8}

{1:'red', 2:'blue', 3:'green'}

[5, 7, 'dog', 'cat']

[25, 2.7, 3.6, 4]

LORD PLEASE HELP ME, Which list can be sorted with a bubble sort? {1:5, 2:7, 3:8} {1:'red-example-1
User Latief
by
5.2k points

2 Answers

4 votes

Answer: It's c

Step-by-step explanation:

User Jaabh
by
5.7k points
14 votes

Answer:

Well, I believe it's [5,7,'dog', 'cat'] and hear me out.

Step-by-step explanation:

11 12 22 25 34 64 90 is a sorted array and I've seen 'dog' and 'cat' used in coding several times, but this question would be something you would know as your teacher has taught you it before so unless you show me the whole lesson, it's probably just going to be a guessing game.

User Morteza Khosravi
by
5.6k points