022bbdd1b0
Adding a solution for searching within a linked list for future students ( #38326 )
...
* Adding a solution for future students
* fix: added new tests and correctied existing tests
* Adding isEmpty method as well
* Update curriculum/challenges/english/08-coding-interview-prep/data-structures/search-within-a-linked-list.english.md
Co-Authored-By: Manish Giri <manish.giri.me@gmail.com >
Co-authored-by: Randell Dawson <rdawson@onepathtech.com >
Co-authored-by: Manish Giri <manish.giri.me@gmail.com >
2020-03-21 09:30:14 -05:00
dbf3815fc7
added:solution for Coding Interview Prep/Data Structures-Create a Map Data Structure ( #38337 )
...
* add: solution to Data Structures-Create a Map Data Structure
* Proper usage of -hasOwnProperty
removed unnecessary returns
2020-03-07 22:07:40 -08:00
c21c9f0acb
Added meaning of ones in adjacency matrices ( #37048 )
...
* Added meaning of ones in the matrix
* Apply suggestions from code review
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
* fix: add slash to avoid markdown lint error
Co-authored-by: mrugesh <1884376+raisedadead@users.noreply.github.com >
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
2020-02-27 06:54:11 -06:00
3fd336d3e9
fix(learn): correcting Hash Table Lookup Efficiency ( #38130 )
...
A hash table provide a lookup of O(1), not O(n).
2020-02-12 12:27:47 +05:30
f3a386982a
Misspelling fix, add colon. ( #38169 )
2020-02-06 09:46:44 +01:00
fda7fb174e
fix: Correct paths in English exercises by prefixing "/" before "learn" ( #38099 )
...
* fix: Correct paths in English exercises by prefixing "/" before "learn"
* fix(lang): Correct paths to exercises by prefixing "/" before "learn" in remaining languages
2020-01-26 12:51:21 -06:00
0a0cbead58
fix(learn): Fixed tests for the create a hash table challenge ( #37870 )
...
* fix: update create hash table's tests
* fix: update the way lookup method is declared to enable the use of this.collection in it
2020-01-03 11:18:40 +01:00
85e7fe45d5
fix(curriculum): use object.assign to prevent overwriting prototypes if user uses class instead of function ( #37648 )
...
* fix: use object.assign to prevent overwriting when using class
* fix: remove non-used isBinarySearchTree method
2019-12-13 15:04:05 -06:00
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
58ca8ddf2a
fix: correct function name in test text ( #37839 )
2019-11-30 18:30:10 -05:00
08bbd893d3
fix: switched order of first two bst challenges ( #37675 )
2019-11-27 12:12:58 +01:00
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
890ce894cc
fix: correct typos in incidence matrix instruction ( #37779 )
2019-11-18 16:34:23 -08:00
568f00e02a
fix(curriculum): Added forumTopicId to remaining 1200 challeng… ( #36558 )
2019-08-05 22:14:37 +05:30
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
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
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
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
c387873640
fix(curriculum): added extra line before </section> tag - Engl… ( #36278 )
2019-07-19 15:30:17 +05:30
b68f752847
Adding solution for queue class ( #36319 )
2019-07-02 07:45:42 -07:00
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
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
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
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
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
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
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
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
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
5fb179a6ef
fix: missing ! in final test case. Fixes issue #34725 ( #35033 )
2019-04-22 11:31:17 +05:30
cde8516688
Added missing 'var' on variable declaration. ( #35675 )
2019-03-27 11:37:58 +05:30
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
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
a09bb2ea1d
log set as Array.from(set) ( #35646 )
2019-03-21 21:15:45 +05:30
5f894a3231
A solution was missing ( #35552 )
...
My solution
2019-03-20 15:17:00 +01:00
228d873dd3
Fix: remove quote from challenge where not needed [english] ( #35493 )
2019-03-19 15:04:03 +05:30
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
8bb76a4eb6
Update insert-an-element-into-a-max-heap.english.md ( #34989 )
...
Added solution to problem
2019-03-05 08:41:56 -06:00
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
5ba54685a8
Update 'union' to 'subset' in Tests. ( #34788 )
2019-03-04 00:06:54 -05:00
6989c4bc99
updated quotes ( #34356 )
2019-02-14 13:09:09 -08:00
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
088acf45d9
Typo: Edited Math for finding parent node ( #34647 )
2019-01-26 21:09:28 +09:00
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
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
eae4363b76
fix(curriculum): Perform a Union on Two Sets ( #34607 )
2018-12-17 00:38:35 +09:00
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
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
0c4ab033aa
feat: added solution ( #34293 )
2018-11-11 21:02:11 -07:00
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