Below are some lists of integers, labelled A to E: A: [18, 15, 13, 17, 12, 14, 16, 11] B: [21, 23, 22, 27, 25, 26, 24, 28] C: [31, 32, 33, 37, 35, 36, 34, 38] D: [43, 45, 48, 47, 42, 44, 46, 41] E: [58, 55, 56, 57, 52, 53, 54, 51] Which of these lists are in a state that is possible after 3 passes of the INSERTION SORT algorithm that we saw in class? For each possible list, give the letter of the list. State all that apply. # TODO: Enter your answer below:

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter2: Basic Elements Of C++
Section: Chapter Questions
Problem 23SA: The following program has syntax errors. Correct them. On each successive line, assume that any...
icon
Related questions
Question
"""Q1-C)
Below are some lists of integers, labelled A to E:
A: [18, 15, 13, 17, 12, 14, 16, 11]
B: [21, 23, 22, 27, 25, 26, 24, 28]
C: [31, 32, 33, 37, 35, 36, 34, 38]
D: [43, 45, 48, 47, 42, 44, 46, 41]
E: [58, 55, 56, 57, 52, 53, 54, 51]
Which of these lists are in a state that is possible after 3 passes of the
INSERTION SORT algorithm that we saw in class? For each possible list, give
the letter of the list. State all that apply.
11 11 11
# TODO: Enter your answer below:
#
Transcribed Image Text:"""Q1-C) Below are some lists of integers, labelled A to E: A: [18, 15, 13, 17, 12, 14, 16, 11] B: [21, 23, 22, 27, 25, 26, 24, 28] C: [31, 32, 33, 37, 35, 36, 34, 38] D: [43, 45, 48, 47, 42, 44, 46, 41] E: [58, 55, 56, 57, 52, 53, 54, 51] Which of these lists are in a state that is possible after 3 passes of the INSERTION SORT algorithm that we saw in class? For each possible list, give the letter of the list. State all that apply. 11 11 11 # TODO: Enter your answer below: #
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Binary numbers
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning