Timeline for Delete alternate nodes of a linked list
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 13, 2017 at 12:40 | history | edited | CommunityBot |
replaced http://codereview.stackexchange.com/ with https://codereview.stackexchange.com/
|
|
Aug 11, 2014 at 8:34 | comment | added | tim |
@JavaDeveloper sorry, I'll try to be a bit clearer. your DeleteAlternate class overrides the hashCode method, but your Node class does not. If you actually use hashCode , this can cause bugs. See also this question on how to implement hashCode and equals .
|
|
Aug 11, 2014 at 4:30 | comment | added | JavaDeveloper | Great feedback - but would you please explain "I said this already, but the list implements hashCode and uses the hashCode method of your Node class, but that class does not implement hashCode." in different words ? I seem to not get hang of it. | |
Aug 10, 2014 at 9:02 | history | answered | tim | CC BY-SA 3.0 |