Commit Graph

55 Commits

Author SHA1 Message Date
Naramala Siva Vekata Pavan
ca3ad72bad fix(curriculum): typo in alt text (#55291) 2024-06-23 08:00:19 +02:00
Oliver Eyton-Williams
adfb87e898 feat: only remove comments when specified in the test (#54372) 2024-04-25 18:03:43 -07:00
Nastaran Motiee
c01d418e48 fix(curriculum): fixed broken test cases (#53400) 2024-03-05 10:51:11 +01:00
renovate[bot]
ecc214eb5e chore(deps): update dependency markdownlint to v0.33.0 (#53730)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: sembauke <semboot699@gmail.com>
2024-02-23 18:52:16 +05:30
Faris Karim
fac5c52be2 fix: unreadable text in night mode (#51788) 2023-10-06 20:24:56 +02:00
mtangmt
377a03022b fix(curriculum) test for the add-new-element-to-a-binary-tree challenge (#50187)
fixing add-new-element-to-binary-tree test
2023-04-27 09:56:18 +02:00
Adelinked
631241a483 fix(curriculum): max heap remove element method (#48345)
* fix:test for the remove element from a max heap method

* replace var by let in all the tests

* replace var by const for MaxHeap function of the seed

Co-authored-by: Adelinked <boulfekhar.adelazizz@gmail.com>
2022-11-07 14:27:02 +01:00
Andrew Dawes
95561b0cb4 fix(curriculum): several typos and grammar errors (#48210)
* Fixed several typos and grammar errors

* Revert to an because the context is english US

* Fixed some weird wording

* Switch a to an

Co-authored-by: Ilenia <nethleen@gmail.com>

Co-authored-by: Ilenia <nethleen@gmail.com>
2022-10-25 13:38:21 +02:00
abe
52b5bba501 fix: test remove element from max heap failing as expected (#47959)
Co-authored-by: kravmaguy <flex4lease@gmail.com>
2022-10-17 23:01:16 +05:30
Muhammed Mustafa
3e3da4ec0f fix(curriculum): standardize links in curriculum (#46564)
* fix(curriculum): standradize links in curriculum

* Data analiysis links

* CIP links

* fixed links in s-expressions

* Update curriculum/challenges/english/01-responsive-web-design/basic-css/use-hex-code-for-specific-colors.md

Co-authored-by: Ilenia <nethleen@gmail.com>

* added space before target attribute

* standarize external and .rock example links

* wrap "check out the projects" around the links

Co-authored-by: Ilenia <nethleen@gmail.com>
2022-06-26 11:13:38 -05:00
Ilenia
59abda3ff2 fix(curriculum, i18n): solve issues in crowdin comments (#46597) 2022-06-21 19:53:13 +05:30
sidemt
857e29258d fix(curriculum): Add periods at the end of hints (#45818) 2022-05-01 20:42:37 +02:00
Tim Eggers
caaa416be0 fix(curriculum): fix method listings to improve readability of description (#45483)
* fix method listings

* fix lint
2022-03-22 12:07:30 -07:00
Naomi Carrigan
d781c63fdf chore: resolve flagged Crowdin issues (#45442)
* chore: resolve bengali issues

* chore: resolve french issues

* chore: resolve hebrew issues

* chore: resolve persian issues

* chore: resolve portuguese brazilian issues

* chore: resolve russian issues

* chore: resolve spanish issues

* chore: resolve japanese issues
2022-03-19 13:26:57 +05:30
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