36 Commits

Author SHA1 Message Date
Sean Smith
c81c76f9eb Merge pull request #14013 from JoolsMcFly/fix/simplify-solution-to-priority-challenge
add a simpler solution to Priority Queue
2017-03-22 18:21:17 -07:00
Julien Dephix
c708de91ef add a simpler solution to Priority Queue
Existing solution is a bit overkill (reduce + temp array). 
This PR introduces, I believe, a simpler to understand solution.
2017-03-20 10:22:43 +01:00
Julien Dephix
f0ce3e1c98 update description for PrioriyQueue challenge
changed "We've starting writing" to "We've started writing"
2017-03-20 09:37:35 +01:00
Ethan Arrowood
ad2dfc268f Updated and Reviewed Data Structure Set challenges (#13858)
* Updated and reviewed first two Set challenges.

* Updated and Reviewed more Set challenges

* updated and reviewed set challenges. one to go.

* Updated and reviewed all Set challenges

* Fixed solution errors

* Updated and reviewed first two Set challenges.

Updated and Reviewed more Set challenges

updated and reviewed set challenges. one to go.

Updated and reviewed all Set challenges

Fixed solution errors
2017-03-18 03:08:50 -05:00
Eric Leung
888ad67131 Merge pull request #13576 from Greenheart/fix/learn-stack-tests
fix(challenge): More robust test for "Learn how a Stack Works".
2017-03-09 01:02:25 -08:00
Matt
7608a0281f updated descriptions in linked list challenges for clarity, grammar and better ease of comprehension (#13647) 2017-03-05 21:38:09 -06:00
Kenneth-LJS
ffd2383361 Clean up binary tree challenges (#13603) 2017-03-05 18:42:16 -06:00
Sean Smith
7557257095 revised priority queue challenge (#13691) 2017-03-05 18:06:18 -06:00
dhcodes
baf1d0cff8 Fix challenge title formatting misc 2017-02-27 08:47:23 -06:00
Samuel Plumppu
106ab9369e fix(challenge): More robust test for "Learn how a Stack Works". 2017-02-27 15:28:00 +01:00
Kenneth
7cbe1f8ac4 Fix semicolon errors 2017-02-25 21:59:02 +08:00
Samuel Plumppu
24d457e8cd Merge pull request #13566 from Kenneth-LJS/fix/fix-adding-to-set-challenge-test
Fix 'Creating and Adding to Sets in ES6' challenge
2017-02-25 10:42:19 +01:00
Kenneth
62450896c7 Fix 'Creating and Adding to Sets in ES6' challenge 2017-02-25 11:25:56 +08:00
Samuel Plumppu
901fce85b8 Merge pull request #13343 from erictleung/fix/format-learning-about-stacks
Format Learn how a stack works challenge
2017-02-25 00:27:18 +01:00
MANISH-GIRI
2e455307ed Add tests for remove from set 2017-02-23 20:48:12 -05:00
Samuel Plumppu
f2e9b633f0 Merge pull request #13484 from Manish-Giri/fix/fix-instructions-doubly-linked-list
Fix description in create linked list
2017-02-21 09:07:36 +01:00
MANISH-GIRI
5520f11104 Fix description in create linked list 2017-02-20 19:17:47 -05:00
quentin
dd77bbc46d indexOf() instead of includes() 2017-02-20 15:42:50 -05:00
Samuel Plumppu
72b6a4ddd2 Merge pull request #13453 from bonham000/fix/adv-data-structures-circular-queue
revised circular queue challenge and added working tests
2017-02-20 20:29:26 +01:00
Sean Smith
8df539e746 revised circular queue challenge and added working tests 2017-02-20 11:25:00 -08:00
Eric Leung
97a8531de4 Format Learn how a stack works challenge
- Improve readability of challenge
- Spell out JavaScript abbreviations
- Apply appropriate dfn and code tags
- Change from single quotes to double quotes
- Add periods to end of challenge tests
2017-02-19 18:36:33 -08:00
MANISH-GIRI
f250f4ec3d Fix instructions and challenge seed in linked-list 2017-02-19 03:03:18 -05:00
Eric Leung
af549f8034 Format Depth-First Search algorithm for graphs (#13316)
- Add dfn and code tags
- Add img-responsive to GIF image
- Use horizontal rule instead of "Instructions"
- Fix challenge tests and add working solution
- Add DFS challenge solution
- Add additional tests to thoroughly check answer
2017-02-19 01:28:03 +05:30
Samuel Plumppu
9bf3c40492 fix(challenge): Fix broken tests for Linked List challenge. (#13388)
* Also added a solution to increase `npm test` coverage.
2017-02-19 00:51:47 +05:30
Quincy Larson
2709eb6b3a add releasedOn dates to all new challenges (#13417) 2017-02-19 00:00:12 +05:30
Samuel Plumppu
6bc0672b83 fix(challenge): Improve tests for Circular Queue challenge. (#13308)
* Fix some typos that prevented valid solutions from passing.
* Add new test cases to better test for what the instructions ask for.
* Improve test-messages.
* Add passing solution, to increase coverage of `npm test`.
2017-02-18 22:48:23 +05:30
Jamos Tay
a0df8bbeeb Add requirement for add function to return boolean (#13404) 2017-02-17 21:06:53 -06:00
Jamos Tay
f7327fe9a9 Change example code 2017-02-17 11:42:27 +08:00
Peter Weinberg
512506fa33 chore(seed): freeCodeCampify remaining sections of codebase 2017-02-02 18:29:59 -05:00
Samuel Plumppu
0c7cd1a3a5 Merge pull request #12910 from envy7/fix/empty-translations
Removed all empty translations present in the challenges in the seed files
2017-02-01 18:01:44 +01:00
envy7
cd78eeae72 removed all empty translations present in the challenges in the seed files 2017-02-01 15:14:37 +05:30
Eric Leung
c13a82252a Format Breadth-First Search for graphs challenge
- Apply appropriate formatting for key words
- Make algorithm image responsive
- Apply code tags around appropriate words
- Remove unnecessary semicolon in seed code
- Fix test with Infinity value
- Add solution to Breadth-First Search
2017-01-31 22:25:06 -08:00
Eric Leung
2a5a992b83 Format Incidence Matrix challenge
- Title case title to make consistent with other ADS challenges
- Add definition tags to new words
- Put multi-line code in blockquotes
- Add convenience spaces in seed code
- Fix misspelled variables in tests
- Add solution to incidence matrix challenge
- Add appropriate code tags around text
2017-01-29 20:18:22 -08:00
Eric Leung
ee003ac9d6 Format text in several Adv Data Struc challenges
- Format Typed Arrays
- Format Directed and Undirected Graphs
- Format Adjacency List
- Format Adjacency Matrix
- Added solutions code for the above four challenges
- Add horizontal rules before challenge requirements
- Change "Directed and Undirected Graphs" challenge into "Introduction
  to Graphs"
2017-01-29 12:17:50 -08:00
Sean Smith
ffe8c743d2 Improvements to adv. algos and data structures 2017-01-25 00:04:16 -08:00
Quincy Larson
3bb8c29019 improve interviewing section titles 2017-01-20 16:31:35 -06:00