Commit Graph

750 Commits

Author SHA1 Message Date
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
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
Donne Martin
9db85a1391 Update README Challenge Categories 2017-04-01 04:06:18 -04:00
Donne Martin
92cc4a60ac Tweak README Future Development section 2017-03-31 05:06:40 -04:00
Donne Martin
20308551f1 Center README challenge category header images 2017-03-31 05:05:50 -04:00
Donne Martin
9d2f4e5ce9 Add new challenges to README Arrays and Strings 2017-03-31 05:04:19 -04:00
Donne Martin
fa67a106ad Add new challenges to README Stacks and Queues 2017-03-31 05:03:25 -04:00
Donne Martin
bd16c53de7 Add new challenges to README Graphs and Trees 2017-03-31 05:02:03 -04:00
Donne Martin
dbc11efce4 Add new challenges to README Sorting and Searching 2017-03-31 05:01:24 -04:00
Donne Martin
03d8bdda37 Add new challenges to README Recursion and DP 2017-03-31 05:00:44 -04:00
Donne Martin
6cb4a4d7fe Add new challenges to README Math and Probability 2017-03-31 05:00:08 -04:00
Donne Martin
9843eff5c5 Add new challenges to README Bit Manipulation 2017-03-31 04:59:21 -04:00
Donne Martin
1483a53011 Add new challenges to README Online Judges 2017-03-31 04:58:38 -04:00
Donne Martin
f526daff81 Update README mentions of Python 3.4 to 3.x 2017-03-31 04:53:02 -04:00
Donne Martin
9ef693852c Move README Future Development section 2017-03-31 04:52:07 -04:00
Donne Martin
efe9d3e204 Update README resources 2017-03-31 04:51:02 -04:00
Donne Martin
1e05d35fca Fix check balance challenge spacing 2017-03-31 04:49:08 -04:00
Donne Martin
6119c3043f Add bit_manipulation/__init__.py 2017-03-31 04:46:14 -04:00
Donne Martin
65caa98e57 Add bits to flip challenge 2017-03-31 04:45:28 -04:00
Donne Martin
5b8ae59f09 Add draw line challenge 2017-03-30 05:49:59 -04:00
Donne Martin
c06594871d Add flip bit challenge 2017-03-30 05:49:29 -04:00
Donne Martin
d4d819b476 Add get next challenge 2017-03-30 05:49:03 -04:00
Donne Martin
b1ea49f0c8 Add insert m into n challenge 2017-03-30 05:48:26 -04:00
Donne Martin
470b38cdc4 Add pairwise swap challenge 2017-03-30 05:45:04 -04:00