What kind of alignment is this?

Asked 2 weeks ago, Updated 2 weeks ago, 3 views

[0, 6, 7, 9]
[6, 0, 7, 9]
[7, 0, 6, 9]
[9, 0, 6, 7]
[9, 6, 0, 7]
[9, 7, 0, 6]
[9, 7, 6, 0]

I'm asking this question because I can't find what kind of arrangement it is. This is the Python question for the first year of computer engineering I'd appreciate it if you could help me

sorting python

2022-09-20 08:55

1 Answers

Selection sort.

Lines 1 to 4 are the results of the process of obtaining the value of the first column

Lines 5 to 6 are the results of the process of finding the value of the second column.

The seventh line is the result of the process of finding the values of the third and fourth columns.


2022-09-20 08:55

If you have any answers or tips


© 2022 pinfo. All rights reserved.