Skip to content

Commit 5ec1287

Browse files
committedOct 29, 2017
chapter 07: [Dictionaries and Hashes]
1 parent 188bbc2 commit 5ec1287

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+4370
-8
lines changed
 

‎.eslintrc.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
"no-console": 0,
2525
"import/prefer-default-export": 0,
2626
"comma-dangle": 0,
27-
"no-underscore-dangle": 0
27+
"no-underscore-dangle": 0,
28+
"no-param-reassign": 0
2829
}
2930
}

‎README.md

+21
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Work in Progress.
1616
* 04: [Queues and Deques](https://github.com/loiane/javascript-datastructures-algorithms/tree/third-edition/examples/chapter04)
1717
* 05: [LinkedLists](https://github.com/loiane/javascript-datastructures-algorithms/tree/third-edition/examples/chapter05)
1818
* 06: [Sets](https://github.com/loiane/javascript-datastructures-algorithms/tree/third-edition/examples/chapter06)
19+
* 07: [Dictionaries and Hashes](https://github.com/loiane/javascript-datastructures-algorithms/tree/third-edition/examples/chapter07)
1920

2021
### Third Edition Updates
2122

@@ -27,6 +28,26 @@ Work in Progress.
2728
* Algorithms tested with Mocha + Chai (test code available in `test` directory)
2829
* **TypeScript** version of the source code included (library and tests)
2930

31+
## Project Structure
32+
33+
`src/js/index.js` file contains all the data structures and algorithms listed by chapter.
34+
35+
```
36+
|_examples (how to use each data structure and algorithm, organized by chapter)
37+
|_src
38+
|___js (source code: JavaScript version)
39+
|_____data-structures
40+
|_______models (classes used by DS: Node, ValuePair, ...)
41+
|_____others (other algorithms such as palindome checker, hanoi tower)
42+
|___ts (source code: TypeScript version)
43+
|_____data-structures
44+
|_______models
45+
|_____others
46+
|_test (unit tests with Mocha and Chai for src)
47+
|___js (tests for JavaScript code)
48+
|___ts (tests for TypeScript code)
49+
```
50+
3051
## Installing and running the book examples With Node
3152

3253
* Install [Node](https://nodejs.org)

0 commit comments

Comments
 (0)