Timeline for Sort array of 5 integers with a max of 7 compares
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 14 at 12:49 | comment | added | user7551211 | Because I already know that currently, A upholds A < B, and C < D. Therefore if B > A > C (and D > C), we want to ensure consistency between A,B and C,D therefore we should swap these two either | |
May 14 at 12:48 | history | edited | user7551211 | CC BY-SA 4.0 |
added 59 characters in body
|
May 14 at 12:06 | comment | added | codeR |
Why are you doing B, D = D, B inside if A > C: ?
|
|
S May 14 at 12:00 | review | First answers | |||
May 28 at 12:05 | |||||
S May 14 at 12:00 | history | answered | user7551211 | CC BY-SA 4.0 |