Skip to main content
15 events
when toggle format what by license comment
Sep 14, 2017 at 13:15 comment added Carcigenicate @P-box I said "give your list an n_nodes (or similar) field". I didn't want to bloat the code up just to show adding it.
Sep 14, 2017 at 12:03 comment added Piotr Koller Good points, but your method using n_nodes won't work, because n_nodes is not an attribute of LinkedList.
Sep 13, 2017 at 21:36 comment added Carcigenicate @mbrig Whoops. Fixed.
Sep 13, 2017 at 21:35 history edited Carcigenicate CC BY-SA 3.0
deleted 2 characters in body
Sep 13, 2017 at 21:33 comment added mbrig "Add a data parameter to the insert method,", in fact, the code already takes a data parameter, it just immediately overwrites it with input(...)
Sep 13, 2017 at 17:24 history edited Carcigenicate CC BY-SA 3.0
added 269 characters in body
Sep 13, 2017 at 16:52 history edited Carcigenicate CC BY-SA 3.0
added 54 characters in body
Sep 13, 2017 at 2:08 history edited Carcigenicate CC BY-SA 3.0
Small fixes
Sep 12, 2017 at 21:58 history edited Carcigenicate CC BY-SA 3.0
deleted 7 characters in body
Sep 12, 2017 at 18:08 history edited Carcigenicate CC BY-SA 3.0
deleted 59 characters in body
Sep 12, 2017 at 18:01 history edited Carcigenicate CC BY-SA 3.0
deleted 59 characters in body
Sep 12, 2017 at 16:39 history edited Carcigenicate CC BY-SA 3.0
added 106 characters in body; added 50 characters in body; edited body; added 36 characters in body; added 6 characters in body
Sep 12, 2017 at 15:45 history edited Carcigenicate CC BY-SA 3.0
added 45 characters in body
Sep 12, 2017 at 15:39 history edited Carcigenicate CC BY-SA 3.0
added 2 characters in body; added 1 character in body
Sep 12, 2017 at 15:33 history answered Carcigenicate CC BY-SA 3.0