Timeline for Reverse part of a linked list
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 8, 2015 at 9:57 | comment | added | JS1 | @ErwanLegrand I changed the conditions to make the loops equivalent. | |
Oct 8, 2015 at 9:56 | history | edited | JS1 | CC BY-SA 3.0 |
deleted 219 characters in body
|
Oct 8, 2015 at 9:44 | comment | added | Erwan Legrand |
The new version of the loop does not behave as the old one in the case where the initial value of count is the same as the value of m , i.e. if the value of m is 0 . I know the question assumes m to be greater than 0 , but...
|
|
Oct 7, 2015 at 16:47 | vote | accept | Chris Yates | ||
Oct 7, 2015 at 10:00 | history | answered | JS1 | CC BY-SA 3.0 |