Timeline for Pushing all non empty items to the end of a list
Current License: CC BY-SA 4.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 17, 2020 at 13:03 | comment | added | Toby Speight | @HeapOverflow, no I didn't see your answer when I came here from the "New answers to old questions" page; I agree it could also be improved to explain what's problematic in the question code before suggesting how to address it. BTW, all Code Review questions carry the same (implicit) questions: Is this code of good quality? What could be improved? | |
Mar 17, 2020 at 12:40 | comment | added | Kelly Bundy | @TobySpeight I guess my answer is also guilty of that, but you didn't say so because it's at least fast? Is my answer in danger of getting deleted? The OP's "question" doesn't actually contain any question, the only thing it says about what the OP wants from us is their "I am wondering is there a simpler approach". And that is what Opus and I are providing. | |
Mar 17, 2020 at 12:36 | comment | added | Kelly Bundy | This takes quadratic time, though. | |
Mar 17, 2020 at 11:09 | comment | added | Toby Speight | Welcome to Code Review! You have presented an alternative solution, but haven't reviewed the code. Please edit to show what aspects of the question code prompted you to write this version, and in what ways it's an improvement over the original. It may be worth (re-)reading How to Answer. | |
Mar 17, 2020 at 10:27 | history | edited | Opus | CC BY-SA 4.0 |
added 8 characters in body
|
Mar 17, 2020 at 10:20 | review | First posts | |||
Mar 17, 2020 at 11:09 | |||||
Mar 17, 2020 at 10:18 | history | answered | Opus | CC BY-SA 4.0 |