Commit Graph

53 Commits

Author SHA1 Message Date
Donne Martin
c961a279fc Add two pointer solution to remove linked list dupes (#105) 2016-10-18 06:20:24 -04:00
Donne Martin
a9d18bdcc0 Fix notebook credits to render properly on nbviewer (#94) 2016-07-31 08:11:18 -04:00
Donne Martin
54b5e12230 Update linked list constraints
Specify singly linked list, non circular.  Also specify the solution fits in memory.
2016-06-18 13:55:29 -04:00
Donne Martin
98a71e72e9 Polish linked list palindrome challenge and solution
Update constraints and solution code.
2016-06-18 13:53:04 -04:00
Donne Martin
37cf2028e6 Polish delete mid node challenge and solution
Update edge cases and tests.
2016-06-18 11:46:00 -04:00
Donne Martin
58409ac286 Polish linked list challenge and solution
Update algorithm discussion, solution, and constraints.
2016-06-12 23:29:58 -04:00
Donne Martin
90f7505018 Polish kth to last element challenge and solution
Update algorithm discussion and solution.
2016-06-12 23:27:36 -04:00
Donne Martin
8cc41e23af Polish remove duplicates challenge and solution
Update constraints and algorithm discussion.
2016-06-12 23:25:49 -04:00
Donne Martin
47e34b10dd Polish find loop start challenge and solution
Change slow and fast nodes equality check from their data value to an object check.
2016-06-12 23:22:27 -04:00
Donne Martin
9a7958e5b4 Update linked_lists constraints 2016-06-12 23:10:28 -04:00
Donne Martin
9c441e9f18 Polish find loop start solution. 2016-02-20 12:53:27 -05:00
Donne Martin
08fabdf58d Tweak remove dupes solution to use a single node 'reference'. 2016-02-15 06:29:11 -05:00
Donne Martin
27a0bf786e Update remove dupes unit test to handle more cases. 2016-02-10 06:33:30 -05:00
Donne Martin
71cb434de7 Polish delete mid solution. 2016-02-10 06:32:31 -05:00
Donne Martin
feb3ed3129 Polish add reverse solution. 2016-02-10 06:30:36 -05:00
Donne Martin
0667df9b03 Fixed #21: Partitioning linked list problem: Does not work if item greater than partition value is to the left. 2015-07-14 07:25:17 -04:00
Donne Martin
4fca5d2dff Merge branch 'reverse-linked-is-n' of git://github.com/jstnlef/interactive-coding-challenges into jstnlef-reverse-linked-is-n
* 'reverse-linked-is-n' of git://github.com/jstnlef/interactive-coding-challenges:
  the Time complexity for reversing a linked list is O(n)
2015-07-12 06:46:47 -04:00
Justin LeFebvre
488ae5d091 the Time complexity for reversing a linked list is O(n) 2015-07-11 21:22:03 -04:00
Donne Martin
04083b2011 Fix #13, PEP8-ify notebooks. 2015-07-11 15:34:52 -04:00
Donne Martin
5338e59a43 Fixed Python2 vs Python3 division compatibility. 2015-07-06 07:06:50 -04:00
Donne Martin
45fa576bc2 Changed xrange to range to be compatible with Python 3. 2015-07-06 06:15:53 -04:00
Donne Martin
fac7bbb1be Tweaked constraints section discussion. 2015-07-06 06:03:09 -04:00
Donne Martin
3061020cc1 Tweaked remove duplicates challenge algorithm discussion. 2015-07-06 05:45:09 -04:00
Donne Martin
8403fe5032 Tweaked palindrome challenge algorithm discussion. 2015-07-06 05:44:35 -04:00
Donne Martin
47e6a23dde Changed discussions of NULL to None to be more Pythonic. 2015-07-06 05:44:06 -04:00
Donne Martin
29685c7b35 tweaked linked list challenge algorithm discussion. 2015-07-05 16:52:03 -04:00
Donne Martin
63bf44efac Tweaked kth to last element challenge algorithm description. 2015-07-05 16:50:16 -04:00
Donne Martin
55c40e91a5 Tweaked find loop start challenge test cases and algorith discussion. 2015-07-05 16:49:37 -04:00
Donne Martin
20d5a6d12b Tweaked delete mid challenge algorithm discussion. 2015-07-05 16:48:46 -04:00
Donne Martin
0adf6c4be0 Tweaked add reverse challenge. 2015-07-05 09:48:05 -04:00
Donne Martin
78dadf9e45 Updated repo name. 2015-07-05 07:59:00 -04:00
Donne Martin
b999898ca1 Tweaked palindrome challenge. 2015-07-03 20:06:33 -04:00
Donne Martin
921574fd4f Tweaked add reverse solution. 2015-07-03 20:06:13 -04:00
Donne Martin
d253a4929a Added remove duplicates challenge. 2015-07-02 23:11:54 -04:00
Donne Martin
c16f25e5f3 Added partition challenge. 2015-07-02 23:11:35 -04:00
Donne Martin
d79ee29ec8 Added linked list challenge. 2015-07-02 23:10:55 -04:00
Donne Martin
f530111970 Added kth to last element challenge. 2015-07-02 23:10:31 -04:00
Donne Martin
836749c98e Added find loop start challenge. 2015-07-02 23:10:09 -04:00
Donne Martin
4c2c1d4391 Added delete mid challenge. 2015-07-02 23:09:53 -04:00
Donne Martin
421ee349fd Removed tests folder in challenge category, tests are now in each challenge folder. 2015-07-01 07:04:31 -04:00
Donne Martin
8382089049 Tweaked module dependency handling. 2015-07-01 06:57:20 -04:00
Donne Martin
df90beea91 Renamed unit test method to be more descriptive. 2015-07-01 06:56:47 -04:00
Donne Martin
9e84d8e257 Added note about unit test being expected to fail until the challenge is solved. 2015-07-01 06:51:56 -04:00
Donne Martin
0d0a2bece0 Tweaked module dependency handling. 2015-07-01 06:51:12 -04:00
Donne Martin
b180de7360 Added add_reverse challenge. 2015-06-30 07:45:02 -04:00
Donne Martin
61e1b2de8e Added palindrome challenge. 2015-06-30 07:31:34 -04:00
Donne Martin
3707fed8d2 Appended _solution to current notebooks to prepare for challenge and solution notebooks. 2015-06-30 06:30:11 -04:00
Donne Martin
e5fde7ea8c Fixed Constraints section label and link anchor. 2015-06-30 05:55:58 -04:00
Donne Martin
af0c029696 Renamed section Constraints and Assumptions to Constraints. 2015-06-28 07:13:27 -04:00
Donne Martin
d0cdf83a12 Renamed to use underscores instead of dashes. 2015-06-28 06:54:59 -04:00