Skip to content
Önder Bilek edited this page Jul 4, 2022 · 1 revision

1. Answer

Insertion Sort

1. Step [22,27,16,2,18,6]

22 --> 2

2. Step [2,27,16,22,18,6]

27 --> 6

3. Step [2,6,16,22,18,27]

22 --> 18

4. Step [2,6,16,18,22,27]

2. Answer

O(n**(2))