Timeline for Using mergesort to sort lexicographically
Current License: CC BY-SA 4.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 3, 2018 at 16:37 | comment | added | PaRaXeRoX | I must use merge sort, your code doesn't seem to use it? And yeah, motorcycle is more readable | |
Jun 3, 2018 at 16:33 | comment | added | PaRaXeRoX | Oh right. That's actually a brain fart. That's unnecessary, I needed to add each element to different temp arrays. So I blindly applied split twice, I could do it only once. | |
Jun 3, 2018 at 16:28 | comment | added | paparazzo | You don't think Motorcycle is more readable than int[][] motorList. Do you need to .Split() 6 times? | |
Jun 3, 2018 at 16:26 | comment | added | PaRaXeRoX | Regarding split. I read each line as a large string. Then I obtain each part of the string, which represent a single property, using split. How should I do it otherwise? | |
Jun 3, 2018 at 16:25 | comment | added | PaRaXeRoX | I see, what could I do to improve readability? | |
Jun 3, 2018 at 16:07 | history | answered | paparazzo | CC BY-SA 4.0 |