Commit Graph

18 Commits

Author SHA1 Message Date
Donne Martin
e5d7fbfe0f Added notebook solving the following: Find the start of a linked list loop. 2015-05-18 14:26:50 -04:00
Donne Martin
84dfe5efce Removed question about inserting NULL values into the list. 2015-05-15 06:12:38 -04:00
Donne Martin
f52450363b Added method to return the length of a linked list. 2015-05-14 07:34:35 -04:00
Donne Martin
ddbff0dab7 Updated Node and LinkedList to allow setting the next pointer on init, or when appending a node. This is useful for circular linked list problems. 2015-05-14 07:30:13 -04:00
Donne Martin
dc580357c5 Fixed typo: recursive -> recursion. 2015-05-14 07:03:05 -04:00
Donne Martin
3774bc2e02 Added notebook solving the following: Add two numbers whose digits are stored in a linked list in reverse order. 2015-05-14 06:59:38 -04:00
Donne Martin
f40f10ec23 Removed unused Pythonic-Code header. 2015-05-13 06:42:41 -04:00
Donne Martin
24525d5684 Added notebook solving the following: Partition a linked list around a given value. 2015-05-13 06:40:18 -04:00
Donne Martin
4c1f87a2ae Refactored linked list class. Class is now loaded by other notebooks that reference it. 2015-05-13 06:39:16 -04:00
Donne Martin
6f3e3b0b8f Added linked list class. 2015-05-13 06:35:05 -04:00
Donne Martin
47703cde50 Added append method to linked list. Saved linked list code to file for future reference in linked list problems. 2015-05-12 18:57:29 -04:00
Donne Martin
202599fe0c Tweak algorithm, no need to set the curr node as it is passed in. Added check for error cases. 2015-05-11 19:51:05 -04:00
Donne Martin
1173c51318 Added notebook solving the following: Delete a node in the middle, given only access to that node. 2015-05-10 13:36:43 -04:00
Donne Martin
24cd55b9aa Added linked list delete method. 2015-05-08 16:49:33 -04:00
Donne Martin
69df72a803 Added notebook solving the following: Find the kth to last element of a linked list. 2015-05-07 19:56:25 -04:00
Donne Martin
1bfef18681 Added notebook solving the following: Remove duplicates from a linked list. 2015-05-06 19:15:09 -04:00
Donne Martin
f652c7db1e Added linked list find method. 2015-05-05 17:47:37 -04:00
Donne Martin
8c9482c488 Added notebook solving the following: Implement a linked list with insert, find (coming soon), delete (coming soon), and print methods. 2015-05-05 17:42:34 -04:00