Commit Graph
772 Commits
Author SHA1 Message Date
Donne MartinandGitHub 8e035f1dfd Update str diff challenge (#242)
Update constraints, test cases, and dictionary solution. Fix inconsistencies between challenge and solution notebooks.
2018-08-21 23:02:58 -04:00
Donne MartinandGitHub 95d0d26a2c Fix #240: Update notebook installation (#241) 2018-08-21 21:59:24 -04:00
Jared AndersonandDonne Martin b92cd87a16 Fix graph adj_weights comment (#228) 2018-08-20 09:48:34 -04:00
Belvie MooreandDonne Martin ba3ec6f492 Fix TypeError with insertion sort challenge (#233) 2018-04-25 18:24:32 -07:00
Justin MusgroveandDonne Martin d898520439 Fix challenge links (#232) 2018-04-08 20:22:14 -04:00
Donne MartinandGitHub 6eb31143ac Update README intro (#231) 2018-03-11 14:34:49 -04:00
Donne MartinandGitHub b4a64f78dc Add check prime challenge (#226) 2018-01-19 19:14:17 -08:00
TomandDonne Martin da5491b8a3 Fix check prime test case discussions to match code (#221) 2017-12-06 20:10:38 -05:00
TomandDonne Martin d3c038b0db Update string diff test for None argument (#218) 2017-11-24 11:00:14 -05:00
MichaelandDonne Martin dff49256e5 Simplify loop in max profit challenge (#214) 2017-10-24 21:08:11 -04:00
Babu ThomasandDonne Martin 2865bdcf94 Update README with correct linked list loop challenge link (#213) 2017-10-07 12:00:16 -04:00
DerekandDonne Martin cc0af925df Fix priority queue solution notebook link (#212) 2017-10-01 19:51:22 -04:00
DerekandDonne Martin 92598ad792 Update solution notebook link for str diff challenge (#211) 2017-09-25 19:08:18 -04:00
ArchKudoandDonne Martin 9d0262744e Rename SelectionSort to InsertionSort in selection sort challenge (#210) 2017-09-14 20:05:26 -04:00
zDoNZaIandDonne Martin e291942a66 Add missing argument in reverse words unit test (#208) 2017-08-29 20:11:32 -04:00
Donne MartinandGitHub c35bed5af2 Add dijkstra, graphs, and sieve gifs (#204) 2017-08-03 19:36:37 +01:00
Arkady TeleginandDonne Martin 8f728dd52d Fix challenge notebook exception handling (#202) 2017-07-08 19:50:26 -04:00
Kevin GeorgeandDonne Martin ba3fb473b1 Add a test case for compress string challenge (#199) 2017-06-19 21:03:15 -04:00
alongandDonne Martin b9637726e1 Fix bst_validate test cases (#198) 2017-06-05 20:27:49 -04:00
Evan CameronandDonne Martin 00673c0bfd Change longest common substring to subsequence (#196) 2017-05-29 20:50:39 -04:00
delirious-lettuceandDonne Martin 9f89a51aba Fix typos (#191) 2017-05-15 21:30:12 -07:00
Donne MartinandGitHub cd9e9654bc Add license disclaimer (#194)
Clearly denote the repository license is from me, not my employer (Facebook).
2017-05-11 21:44:33 -07:00
Ammar NajjarandDonne Martin 83ad7ff23a Simplify reverse string code, improve algorithm readability (#183) 2017-04-16 15:19:49 -07:00
Emmanuel AriasandDonne Martin 1d2b138344 Fix #173: Bugs in linked list append and delete methods (#184) 2017-04-16 15:11:45 -07:00
Ammar NajjarandDonne Martin fcd4e52e91 Add assumption to str diff challenge to match the suggested solution (#178) 2017-04-12 08:23:40 -04:00
Tahir RaufandDonne Martin 2c6982f154 Fix Fibonacci algorithm (#180) 2017-04-12 08:16:39 -04:00
Ammar NajjarandDonne Martin ffd4798f23 Fix two sum unit_test challenge to match the solution notebook (#176) 2017-04-11 07:44:04 -04:00
Gregory MazzolaandDonne Martin d60f4a904c Fix compilation error in graph_challenge notebook (#172) 2017-04-10 06:35:58 -04:00
Varun UpadhyayandDonne Martin 96b01d00ff Update two_sum challenge arguments to match solution (#167) 2017-04-09 09:21:16 -04:00
Chris WynneandDonne Martin 919a9d9924 Update solution link for better_compress_challenge (#169)
The link to the solution on the `better_compress_challenge` notebook
was linking to the solution for the standard `compress_challenge`.
2017-04-08 10:06:22 -04:00
Donne MartinandGitHub 4144b6f851 Fix typo Flash Card -> flashcard (#168) 2017-04-07 07:39:15 -04:00
rockybutlerandDonne Martin cf3e33b290 Add link from string diff challenge notebook to solution notebook (#165) 2017-04-06 08:02:58 -04:00
Donne MartinandGitHub 075b51cde3 Add link to the 64 newly added challenges (#163) 2017-04-05 06:35:04 -04:00
William CharginandDonne Martin 556a9adc11 Add duplicate-characters test for permutations (#158)
Summary:
The current test cases for the "string permutation checker" problem do
not include a test case where the inputs have the same elements at
different multiplicities. Without this test case, the implementation

    return s1 is not None and s2 is not None and set(s1) == set(s2)

would pass all tests.

Test Plan:
First, change one of the implementations to the above implementation,
and see that the original tests still pass. Then, apply this patch to
add the new test case. Then, revert the implementation change to see all
tests pass again.
2017-04-04 05:58:53 -04:00
Tay Yang ShunandDonne Martin f2ff4d7982 Fix broken Anki deck links to System Design Primer (#157) 2017-04-03 21:42:43 -04:00
Donne MartinandGitHub 88c257f2f0 Update Anki flashcards (#160) 2017-04-03 21:38:38 -04:00
Donne MartinandGitHub 4c8a29dcc4 Fix broken links to challenges (#155) 2017-04-03 06:57:24 -04:00
Donne MartinandGitHub d78cebc59b Fix System Design Primer image in README (#154) 2017-04-03 06:36:04 -04:00
Donne MartinandGitHub 763fe6b392 Merge pull request #153 from donnemartin/develop
Add 64 new challenges
2017-04-03 06:29:44 -04:00
Donne Martin 68d2a47ddd Merge branch 'master' into develop
* master:
  Change gnureadline with prompt toolkit for windows users
2017-04-03 06:26:30 -04:00
Donne Martin 503c0b8a79 Add README April 2017 update note 2017-04-03 06:24:02 -04:00
Donne Martin f09dfe741e Update README Contributing link 2017-04-01 04:15:39 -04:00
Donne Martin d4d08fa760 Tweak README Notebook Structure intro 2017-04-01 04:14:52 -04:00
Donne Martin 292777a21e Tweak README intro 2017-04-01 04:14:32 -04:00
Donne Martin 99710adce1 Add README System Design Primer mention 2017-04-01 04:12:00 -04:00
Donne Martin da3895cae5 Add README Anki Flashcards section 2017-04-01 04:11:30 -04:00
Donne Martin 301e9905e0 Add Anki Coding flashcard deck 2017-04-01 04:10:44 -04:00
Donne Martin 3acc09762e Add README TODO ref implementation 2017-04-01 04:09:01 -04:00
Donne Martin 76e26ae1b0 Add README algorithms ref implementation 2017-04-01 04:08:40 -04:00
Donne Martin df7c426a98 Add README data structures ref implementation 2017-04-01 04:07:55 -04:00