Timeline for Sort an Integer List
Current License: CC BY-SA 4.0
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jul 5, 2023 at 0:10 | comment | added | ATaco | @Shaggy This is accounted for via -Math.min(...a), which, for the case in which the smallest value is -5, would shift all values up by 5, ensuring this still works. | |
| Jul 4, 2023 at 23:33 | comment | added | Shaggy | Won't this fail for negative integers in the array? | |
| May 9, 2023 at 0:03 | history | edited | ATaco | CC BY-SA 4.0 | Saved 10 bytes using Alert instead of a console.log method |
| Apr 21, 2023 at 3:04 | history | answered | ATaco | CC BY-SA 4.0 |