52 Commits

Author SHA1 Message Date
Randell Dawson
a6766127cc fix(curriculum): corrected test and added solution for Create a Hash table challenge (#37582)
* fix: corrected test and added solution

* fix: redefine hash

* fix: use defined hash

Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2019-12-02 17:23:56 +01:00
Randell Dawson
58ca8ddf2a fix: correct function name in test text (#37839) 2019-11-30 18:30:10 -05:00
Randell Dawson
08bbd893d3 fix: switched order of first two bst challenges (#37675) 2019-11-27 12:12:58 +01:00
Randell Dawson
c25fa49b5b fix(curriculum): changed test text to use should for Coding Interview Prep - part 1 of 2 (#37765)
* fix: changed test text to use should

* fix: corrected typo

Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>

* fix: corrected typo

Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>

* fix: corrected typo

Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>

* fix: use singular of verb

Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>

* fix: changed punctuation

Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>

* fix: reworded test text

Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>
2019-11-19 20:13:45 -05:00
Arthur
890ce894cc fix: correct typos in incidence matrix instruction (#37779) 2019-11-18 16:34:23 -08:00
Randell Dawson
568f00e02a fix(curriculum): Added forumTopicId to remaining 1200 challeng… (#36558) 2019-08-05 22:14:37 +05:30
Randell Dawson
61baeb0cd6 fix(curriculum): Remove unnecessary assert message argument from English Coding Interview Prep challenges - 01 (#36410)
* fix: removed assert msg argument

* fix: remove msg surrounded by two single quotes

* fix: remove assert msg surrounded by double quotes

* fix: remove msg surrounded by double quotes
2019-07-25 08:56:32 +02:00
Randell Dawson
ee97fa4542 fix(curriculum): Remove additional unnecessary assert message argument from English Coding Interview Prep challenges (#36440)
* fix: removed more assert msg args

* fix: remove single quotes wrapping testString

Co-Authored-By: Parth Parth <34807532+thecodingaviator@users.noreply.github.com>

* fix: remove single quotes wrapping testString

Co-Authored-By: Parth Parth <34807532+thecodingaviator@users.noreply.github.com>

* fix: remove single quotes wrapping testString

Co-Authored-By: Parth Parth <34807532+thecodingaviator@users.noreply.github.com>

* fix: remove single quotes wrapping testString

Co-Authored-By: Parth Parth <34807532+thecodingaviator@users.noreply.github.com>

* fix: remove single quotes wrapping testString

Co-Authored-By: Parth Parth <34807532+thecodingaviator@users.noreply.github.com>

* fix: remove single quotes wrapping testString

Co-Authored-By: Parth Parth <34807532+thecodingaviator@users.noreply.github.com>

* fix: remove single quotes wrapping testString

Co-Authored-By: Parth Parth <34807532+thecodingaviator@users.noreply.github.com>

* fix: remove single quotes wrapping testString

Co-Authored-By: Parth Parth <34807532+thecodingaviator@users.noreply.github.com>
2019-07-24 13:09:23 +01:00
Randell Dawson
d0d8282f86 fix(curriculum): Remove additional unnecessary assert message argument wrapped in double quotes from various curriculum sections (#36457)
* fix: remove double quoted assert msg arg - responsive

* fix: remove double quoted assert msg arg - js

* fix: remove double quoted assert msg arg - libraries

* fix: remove double quoted assert msg arg - coding interview
2019-07-24 13:06:12 +01:00
Oliver Eyton-Williams
7d4dc382b4 fix(curriculum): format challenge markdown as per linting rules (#36326)
* fix: Format challenge markdown according to linting rules

* fix: Put spaces after section tags
2019-07-19 15:30:17 +05:30
Randell Dawson
c387873640 fix(curriculum): added extra line before </section> tag - Engl… (#36278) 2019-07-19 15:30:17 +05:30
Prashanth Ashok Ramkumar
b68f752847 Adding solution for queue class (#36319) 2019-07-02 07:45:42 -07:00
Randell Dawson
a6afaf1eb6 fix(curriculum) - added new tests to prevent invalid solutions in the Remove Elements from a Linked List by Index challenge (#36168)
* fix: added new tests to prevent invalid solutions

* fix: corrected tests and added solution

* fix: added linked word

Co-Authored-By: Manish Giri <manish.giri.me@gmail.com>

* fix: added by one

Co-Authored-By: Manish Giri <manish.giri.me@gmail.com>

* fix: removed duplicate code

* fix: changed verbiage

Co-Authored-By: Manish Giri <manish.giri.me@gmail.com>

* fix: added extra line to avoid linting errors
2019-06-20 13:34:08 -04:00
Stan Choi
a13d116aab fix(learn): Added solution for invert binary tree data structures challenge (#35922)
* fix: add solution for invert binary tree

* Fixed errors

* Used 2 spaces per request

* deleted images

* Update guide/english/certifications/coding-interview-prep/data-structures/invert-a-binary-tree/index.md

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

* Update guide/english/certifications/coding-interview-prep/data-structures/invert-a-binary-tree/index.md

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

* Update guide/english/certifications/coding-interview-prep/data-structures/invert-a-binary-tree/index.md

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

* Update guide/english/certifications/coding-interview-prep/data-structures/invert-a-binary-tree/index.md

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

* fix: added extra line to avoid linting errors
2019-06-20 13:28:37 -04:00
Andrew Zaw
6f4a9ed721 Reorganized instruction text on multiple challenges (#35912)
* Reorganized instruction text on multiple challenges

* Fixed spaces

* Fixed spaces again

* Update curriculum/challenges/english/08-coding-interview-prep/data-structures/add-elements-at-a-specific-index-in-a-linked-list.english.md

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

* Update curriculum/challenges/english/08-coding-interview-prep/data-structures/find-the-minimum-and-maximum-height-of-a-binary-search-tree.english.md

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

* fix: added code tags
2019-06-20 13:16:31 -04:00
Stan Choi
204ece1c70 fix: Add Solution in Curriculum/Challenges/English/08/CodingInterviewProblems/DataStructures/CREATE_LINKED_LIST_CLASS.md (#35819)
* fix: add solution create linked list class

* fix: added extra line to avoid linting error

* fix: renamed some variables
2019-06-20 10:11:26 -05:00
anthonykyi
97f6b73a0e Added Binary Search Tree Challenge (#35907)
* Added Binary Search Tree Challenge

* fix yaml, fix solutions, fix tests

* Fixed recommended fixes
2019-06-10 23:35:21 -04:00
RIHANE ZAKARIA
d86951f9c1 Added solutions for 3 challenges in English / data-structures (#35825)
* Solution for add-elements-at-a-specific-index-in-a-linked-list.english.md

* Solution check-if-an-element-is-present-in-a-binary-search-tree.english.md

* Solution for remove-elements-from-a-linked-list-by-index.english.md

* change indent level to 2 space for each level

* change indent level to 2 space

* change indent level to 2 space

* delete unnecessary new lines

* keep the same seed format , and delete unnecessary new lines

* delete unnecessary new lines

* fix: added review suggestions

* fix: Added link and code tags
2019-06-10 18:17:11 -04:00
Fabricio Asfora Lira
2da9d631ef fix: update "Note" formatting in "Remove Elements from a Linked List" challenge (#36173)
* fix: update note format

* fix: moved note to same line
2019-06-06 14:27:58 -05:00
Randell Dawson
da610150ad fix(curriculum): added new test and corrected existing solution for Remove Elements from a Linked List challenge (#36121)
* fix: added new test and corrected solution

* fix: corrected test

Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>

* fix: corrected test

Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>

* fix: allow last element to be removed

Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2019-06-04 14:55:50 -04:00
Randell Dawson
0303da3677 fix(curriculum): Convert blockquote elements to triple backtick syntax for Coding Interview Prep (#35998)
* fix: converted blockquotes

* fix: reverted several code blocks to blockquotes
2019-06-04 08:07:22 +01:00
Fordco
5fb179a6ef fix: missing ! in final test case. Fixes issue #34725 (#35033) 2019-04-22 11:31:17 +05:30
Avahe Kellenberger
cde8516688 Added missing 'var' on variable declaration. (#35675) 2019-03-27 11:37:58 +05:30
Zebulan Stanphill
6a9f459a42 Fix missing "currentNode" variable declaration in data structures linked list challenges (English) (#35638)
* Fix missing variable declaration in data structures challenges (English)

* Fix duplicate currentNode var declaration.
2019-03-25 15:53:38 +01:00
Carol W
6d43682397 fix: update tests for difference on two sets (#34664)
* fix: update tests for difference on two sets

* fix: update tests for difference on two sets - fix quotes

* fix: reverted testString and reworded text
2019-03-22 11:40:06 +01:00
Chuck Adams
a09bb2ea1d log set as Array.from(set) (#35646) 2019-03-21 21:15:45 +05:30
Edwin van Meerendonk
5f894a3231 A solution was missing (#35552)
My solution
2019-03-20 15:17:00 +01:00
NITIN BISHT
228d873dd3 Fix: remove quote from challenge where not needed [english] (#35493) 2019-03-19 15:04:03 +05:30
Dan B
73e6e13243 Update find-the-minimum-and-maximum-value-in-a-binary-search-tree.english.md (#35057)
Added solution which has been tested and confirmed to pass all tests
2019-03-05 08:44:59 -06:00
Dan B
8bb76a4eb6 Update insert-an-element-into-a-max-heap.english.md (#34989)
Added solution to problem
2019-03-05 08:41:56 -06:00
Dan B
28aecb41f8 Update find-the-minimum-and-maximum-height-of-a-binary-search-tree.english.md (#35006)
Added working solution to the problem
2019-03-05 08:37:57 -06:00
Jasmeet Singh
5ba54685a8 Update 'union' to 'subset' in Tests. (#34788) 2019-03-04 00:06:54 -05:00
lmilliken
6989c4bc99 updated quotes (#34356) 2019-02-14 13:09:09 -08:00
Ali Ahmed
9999a8c9bc Modify test for dequeue method to check for FIFO (#34981)
* Update create-a-queue-class.english.md

* Modify test for dequeue method to check for FIFO

The test first `enqueue`'s two elements and checks for the `dequeue` method to return the element at `0`th index.
2019-02-05 12:44:52 +03:00
Mike Short
088acf45d9 Typo: Edited Math for finding parent node (#34647) 2019-01-26 21:09:28 +09:00
Dan B
ce63de866c Update depth-first-search.english.md (#34856)
Fixed formatting for the solution to increase readability. It was previously difficult to see since the code was all one line
2019-01-25 23:12:45 -05:00
Abhishek Kakade
7dac2fc086 Merges 3 Set Challenges (#34717)
* fix: merges 3 set challenges into 1

* fix: changed function to class syntax

* fix: simplified instructions

* fix: changed the example

* style: minor formatting changes

* style: formatted solution

* fix: formatting
2019-01-19 14:17:07 +05:30
Aditya
eae4363b76 fix(curriculum): Perform a Union on Two Sets (#34607) 2018-12-17 00:38:35 +09:00
Aditya
9a315e237a Data Structures: Remove from a Set (#34493)
* fix: solution and moved instructions

* feat: added solution

* fix: added code elements
2018-12-01 11:46:02 -07:00
Aditya
c3155c4f5b [Guide] Data Structures: Create a Set Class (#34434)
* feat: added solution

* fix: solution

* fix: changed expression to be be more readable

* fix: formatting
2018-11-25 10:56:33 -07:00
Aditya
0c4ab033aa feat: added solution (#34293) 2018-11-11 21:02:11 -07:00
Aditya
2235752962 [fix] Data Structures: Create a Circular Queue challenge example (#34237)
* fix: example and improved solution

* lots of formatting changes to markdown, grammar corrections
2018-11-09 16:55:09 -07:00
Carol W
0251f68aaf fix: update tests for create and add to sets challenge (#18838) 2018-11-07 21:13:58 +09:00
Valeriy S
1c8ee82d91 fix(curriculum): false-positive test suites 2018-10-28 03:16:22 +05:30
Mrugesh Mohapatra
e1335d774b revert: some changes from #18842 breaking tests 2018-10-25 14:33:21 +05:30
Carol W
73485119f4 fix: update tests for data structures challenges (#18842) 2018-10-25 13:17:48 +05:30
Hoang Huy Phi
a41806a28d Add currentNode variable to Remove Element from a linked list (#25131) 2018-10-22 20:24:32 -07:00
Valeriy
79d9012432 fix(curriculum): quotes in tests (#18828)
* fix(curriculum): tests quotes

* fix(curriculum): fill seed-teardown

* fix(curriculum): fix tests and remove unneeded seed-teardown
2018-10-20 23:32:47 +05:30
Franklin Wang
e6402d3d6f Update breadth-first-search.english.md (#18900) 2018-10-14 00:28:59 +01:00
Bouncey
ee9f6b2d72 chore(meta): Move challenge meta to challenges root 2018-10-11 02:15:05 +05:30