Commit Graph

776 Commits

Author SHA1 Message Date
Donne Martin
9678c5ee69
Fix spacing in notebook links (#272) 2020-06-30 20:27:42 -04:00
Donne Martin
e0bde79ddd
Add requirements.txt (#254) 2019-04-14 20:28:32 -04:00
cclauss
fe227a3fe3 Fix missing sys import (#239) 2018-09-07 20:50:20 -04:00
rajatppn
561b3203cc Update incorrect test case in math ops challenge (#243) 2018-08-28 21:02:01 -04:00
Donne Martin
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 Martin
95d0d26a2c
Fix #240: Update notebook installation (#241) 2018-08-21 21:59:24 -04:00
Jared Anderson
b92cd87a16 Fix graph adj_weights comment (#228) 2018-08-20 09:48:34 -04:00
Belvie Moore
ba3ec6f492 Fix TypeError with insertion sort challenge (#233) 2018-04-25 18:24:32 -07:00
Justin Musgrove
d898520439 Fix challenge links (#232) 2018-04-08 20:22:14 -04:00
Donne Martin
6eb31143ac
Update README intro (#231) 2018-03-11 14:34:49 -04:00
Donne Martin
b4a64f78dc
Add check prime challenge (#226) 2018-01-19 19:14:17 -08:00
Tom
da5491b8a3 Fix check prime test case discussions to match code (#221) 2017-12-06 20:10:38 -05:00
Tom
d3c038b0db Update string diff test for None argument (#218) 2017-11-24 11:00:14 -05:00
Michael
dff49256e5 Simplify loop in max profit challenge (#214) 2017-10-24 21:08:11 -04:00
Babu Thomas
2865bdcf94 Update README with correct linked list loop challenge link (#213) 2017-10-07 12:00:16 -04:00
Derek
cc0af925df Fix priority queue solution notebook link (#212) 2017-10-01 19:51:22 -04:00
Derek
92598ad792 Update solution notebook link for str diff challenge (#211) 2017-09-25 19:08:18 -04:00
ArchKudo
9d0262744e Rename SelectionSort to InsertionSort in selection sort challenge (#210) 2017-09-14 20:05:26 -04:00
zDoNZaI
e291942a66 Add missing argument in reverse words unit test (#208) 2017-08-29 20:11:32 -04:00
Donne Martin
c35bed5af2 Add dijkstra, graphs, and sieve gifs (#204) 2017-08-03 19:36:37 +01:00
Arkady Telegin
8f728dd52d Fix challenge notebook exception handling (#202) 2017-07-08 19:50:26 -04:00
Kevin George
ba3fb473b1 Add a test case for compress string challenge (#199) 2017-06-19 21:03:15 -04:00
along
b9637726e1 Fix bst_validate test cases (#198) 2017-06-05 20:27:49 -04:00
Evan Cameron
00673c0bfd Change longest common substring to subsequence (#196) 2017-05-29 20:50:39 -04:00
delirious-lettuce
9f89a51aba Fix typos (#191) 2017-05-15 21:30:12 -07:00
Donne Martin
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 Najjar
83ad7ff23a Simplify reverse string code, improve algorithm readability (#183) 2017-04-16 15:19:49 -07:00
Emmanuel Arias
1d2b138344 Fix #173: Bugs in linked list append and delete methods (#184) 2017-04-16 15:11:45 -07:00
Ammar Najjar
fcd4e52e91 Add assumption to str diff challenge to match the suggested solution (#178) 2017-04-12 08:23:40 -04:00
Tahir Rauf
2c6982f154 Fix Fibonacci algorithm (#180) 2017-04-12 08:16:39 -04:00
Ammar Najjar
ffd4798f23 Fix two sum unit_test challenge to match the solution notebook (#176) 2017-04-11 07:44:04 -04:00
Gregory Mazzola
d60f4a904c Fix compilation error in graph_challenge notebook (#172) 2017-04-10 06:35:58 -04:00
Varun Upadhyay
96b01d00ff Update two_sum challenge arguments to match solution (#167) 2017-04-09 09:21:16 -04:00
Chris Wynne
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 Martin
4144b6f851 Fix typo Flash Card -> flashcard (#168) 2017-04-07 07:39:15 -04:00
rockybutler
cf3e33b290 Add link from string diff challenge notebook to solution notebook (#165) 2017-04-06 08:02:58 -04:00
Donne Martin
075b51cde3 Add link to the 64 newly added challenges (#163) 2017-04-05 06:35:04 -04:00
William Chargin
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 Shun
f2ff4d7982 Fix broken Anki deck links to System Design Primer (#157) 2017-04-03 21:42:43 -04:00
Donne Martin
88c257f2f0 Update Anki flashcards (#160) 2017-04-03 21:38:38 -04:00
Donne Martin
4c8a29dcc4 Fix broken links to challenges (#155) 2017-04-03 06:57:24 -04:00
Donne Martin
d78cebc59b Fix System Design Primer image in README (#154) 2017-04-03 06:36:04 -04:00
Donne Martin
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