Commit Graph

41 Commits

Author SHA1 Message Date
Matt
898a9ef86f fix: added test for depth first search challenge (#45063) 2022-02-10 16:58:28 -08:00
Matt
d750a7b4ac fix(curriculum): fixed test for binary search tree challenge (#44993) 2022-02-02 09:06:25 +07:00
Matt
fba519621a fix(curriculum): added test using a tree that is not a binary search tree (#44775) 2022-01-24 19:33:03 +00:00
Matt
1fc0b73c3d fix(curriculum): add another element in test to ensure correct implementation of class (#44766) 2022-01-13 11:41:29 -08:00
Matt
2f103e8ee8 fix(curriculum): improved test for linked list challenge (#44569)
* fix: improved test for linked list challenge

* fix: improved test for linked list challenge - fix

* fix: removed brackets
2022-01-03 12:31:36 +00:00
Prathamesh Gawas
25865cc9bb fix(curriculum): add better test case for insert-an-element-into-a-max-heap challenge (#44285)
* fix(cirriculum): add better testcase for insert-an-element-into-a-max-heap challenge

* fix(cirriculum): fix testcase for insert-an-element-into-a-max-heap challenge

* Update insert-an-element-into-a-max-heap.md

* Update insert-an-element-into-a-max-heap.md
2021-11-29 12:43:40 -08:00
Krzysztof
e3822b9cac fix(curriculum): test removing non-existing element from empty and non-empty tree (#43885)
* fix: test removing element not in a tree

* fix: test removing from empty tree
2021-10-25 23:07:12 -05:00
Mohanesh Babu
128d7a509d Update create-an-es6-javascript-map.md (#43495) 2021-09-21 09:58:21 -05:00
Anshul Singh
f834d648e8 fix max heap insert function (#43285) 2021-08-27 17:10:29 +02:00
Luca
970a1c1b56 fix(curriculum): fix incomplete test (#42970) 2021-07-22 16:01:04 -04:00
tristansoriaga
4be8a6f224 fix: Added comments on the function for clarity on coding-interview-prep (#42689) 2021-07-02 18:15:58 +05:30
nayanadasgupta
f5eb0d55fb fix(curriculum): add element to create-a-stack tests (#42326)
* Adding more than one stack item to the stack tests for #42322

* fix(curriculum): improved peek, pop and clear tests

tests that peek does not remove top element and pop does remove top element and addded an element to the stack for the clear test
2021-06-03 09:01:34 +02:00
Laurent Labine
8e22962523 fix(curriculum) replace single-line blocks with multi-line blocks for… (#41526)
* fix(curriculum) replace single-line blocks with multi-line blocks for issue 51418

Data visualization and Coding Interview Prep portions.

* Update execute-a-markov-algorithm.md

Implemented as inline code blocks as discussed

* Adding missed blocks

* Last file added
2021-03-25 07:43:13 -07:00
Randell Dawson
d2f4b70ea6 fix: remove end of line chars after code blocks (#41498) 2021-03-16 07:49:43 -07:00
Caden Parker
256e7f416d fix(learn): Added more robust logic for the remove test case in Create A Hash Table (#41283)
* Added extra test cases for hashtable.remove

* Minor Change

* Adjusted tests to use user created add function / Modified description

* Made test case description much more clear

* Changed instructions to be more clear

* Minor change to instructions

Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>

Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
2021-03-09 12:45:20 -06:00
Andrew Cen
65cc800689 fix: add blank lines on empty seeds (#41348) 2021-03-03 13:14:28 -08:00
Kai-Chin Huang
5503b54f85 fix(learn): update the return Object.values & solution (#40451) 2021-02-01 13:12:54 +05:30
Ian Turner
fb2e5d81f3 Add line breaks to instructions (#40425) (#40428)
* feat: add line breaks to instructions  (#40425)

* feat: add punctuation to instructions (#40425)
2021-01-20 22:19:21 -07:00
Oliver Eyton-Williams
ee1e8abd87 feat(curriculum): restore seed + solution to Chinese (#40683)
* feat(tools): add seed/solution restore script

* chore(curriculum): remove empty sections' markers

* chore(curriculum): add seed + solution to Chinese

* chore: remove old formatter

* fix: update getChallenges

parse translated challenges separately, without reference to the source

* chore(curriculum): add dashedName to English

* chore(curriculum): add dashedName to Chinese

* refactor: remove unused challenge property 'name'

* fix: relax dashedName requirement

* fix: stray tag

Remove stray `pre` tag from challenge file.

Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>

Co-authored-by: nhcarrigan <nhcarrigan@gmail.com>
2021-01-12 19:31:00 -07:00
Kai-Chin Huang
a1928ba272 Update the return value of values method in create a set class challenge (#40450)
* fix #40443

* Fix the solution add method
2020-12-15 18:15:33 -07:00
Oliver Eyton-Williams
0bd52f8bd1 Feat: add new Markdown parser (#39800)
and change all the challenges to new `md` format.
2020-11-27 10:02:05 -08:00
ngschaider
6c5304980d fix(learn): type checking and additional test for isBalanced binary search tree (#40323)
* Update find-the-minimum-and-maximum-height-of-a-binary-search-tree.md

* fixed binary search tree values for balanced tree test

* Apply suggestions from code review

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
2020-11-26 22:33:45 -06:00
Farhan Ullah
9ba94e38b4 fix(learn): isSorted returning true on empty arrays which passes the test (#40192)
* bug-fix: isSorted returning true on empty arrays

* sorted order test improvements
2020-11-20 09:51:59 -08:00
Randell Dawson
2c9a900353 fix: added more values to list to improve tests (#40256) 2020-11-18 09:38:26 +00:00
Ty Mick
f2236983a2 Strengthen test for reassigning node reference (#40133) 2020-11-04 09:46:18 -08:00
Ty Mick
5f956e9a16 Strengthen isBinarySearchTree test (#39982) 2020-10-26 13:30:46 -05:00
Ty Mick
f6fcb26a9d fix(learn): strengthen a test in "Data Structures: Remove Elements from a Linked List" (#39977)
* Add an additional test to LinkedList.remove

* Consolidate tests
2020-10-15 17:14:05 +01:00
Oliver Eyton-Williams
2b9e38a17b fix: replace .english.md extension with .md 2020-09-29 22:09:04 +02:00
Randell Dawson
876d9f3994 fix(learn): Consolidated comments for Coding Interview Prep challenges - part 2 of 2 (#39576)
* fix: consolidate comments for use with the translation dictionary

* fix: added blank line between comments

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>

* fix: removed unneeded comment

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2020-09-16 01:01:21 +05:30
Oliver Eyton-Williams
bd68b70f3d Feat: hide blocks not challenges (#39504)
* fix: remove isHidden flag from frontmatter

* fix: add isUpcomingChange

Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>

* feat: hide blocks not challenges

Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>

Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
2020-09-03 15:07:40 -07:00
Ty Mick
b45e6ecae0 Add previously written methods to challenge seed in "Remove an Element from a Max Heap" (#38834)
* Add previous methods to challenge seed

* fix: add suggested changes

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2020-09-03 10:40:23 -05:00
Ty Mick
474ae28d72 Fix number of noun (#38833)
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2020-08-30 22:15:58 -07:00
Kartik Soneji
f813dfff87 fix: Replace Array.prototype.sort and update old isSorted method. (#39360)
* fix: Replace Array.prototype.sort and update old isSorted method.

* fix: Change name of function from 'checkInBuiltSort' to 'checkBuilitInSort'.

* fix: Change name of function from 'checkBuilitInSort' to 'isBuiltInSortUsed'.
2020-08-10 13:31:18 -07:00
Ty Mick
0642002005 Remove add method test (#38824) 2020-08-04 14:37:58 -07:00
Ty Mick
cd90da13f0 Disambiguate "Priority Queue" instructions (#38805)
* Disambiguate "Priority Queue" instructions

* Add front() to solution

* Add tests for front() method

* Fix test typo

Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>

Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
2020-07-15 11:49:56 -05:00
Ty Mick
8656556ca2 Standardize indent size in Data Structures challenge seeds (#38803)
* Standardize indent size in "Priority Queue" seed

* Standardize indent size in "Circular Queue" seed

* Standardize indent size

* Standardize indents "Search within a Linked List"

* Standardize indents "Remove Elements from a Linked List by Index"
2020-07-08 16:58:15 -05:00
Ty Mick
ff9148ca51 Improve formatting in Max Heap lessons (#38835)
* Improve formatting in max heap lessons

* Switch to HTML ordered lists
2020-07-08 16:54:02 -05:00
Aditya Nagla
1f3fa5f0ed fix(curriculum): Add default white bg to tree DS image for better view (#39086)
* fix(curriculum): Add bg to tree DS image for better view
2020-06-24 19:20:34 +02:00
Ty Mick
3b65bc8191 fix(learn): typo in "Priority Queue" description (#38804) 2020-05-28 12:37:12 +05:30
Ty Mick
0bbbd16aa9 Clarify ambiguous instructions in "Stack Class" (#38802) 2020-05-27 18:14:15 -05:00
mrugesh
22afc2a0ca feat(learn): python certification projects (#38216)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>
Co-authored-by: Beau Carnes <beaucarnes@gmail.com>
2020-05-27 13:19:08 +05:30