Skip to content

Commit 1f6b61f

Browse files
authored
Merge pull request loiane#43 from loiane/third-edition
Third edition
2 parents 2e2ffc0 + 11d77ee commit 1f6b61f

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ Book link - first edition:
9292
Book link - second edition:
9393
- [Packt](https://www.packtpub.com/web-development/learning-javascript-data-structures-and-algorithms-second-edition)
9494
- [Amazon](http://amzn.to/1TSkcA1)
95+
- [Chinese version](http://www.ituring.com.cn/book/2029)
9596
- [Brazilian Portuguese version](https://novatec.com.br/livros/estruturas-de-dados-algoritmos-em-javascript/)
9697

9798
Book link - third edition:

examples/chapter07/02-HashTable.js

+6
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@ const { HashTable } = PacktDataStructuresAlgorithms;
22

33
const hash = new HashTable();
44

5+
console.log(hash.hashCode('Gandalf') + ' - Gandalf');
6+
console.log(hash.hashCode('John') + ' - John');
7+
console.log(hash.hashCode('Tyrion') + ' - Tyrion');
8+
9+
console.log(' ');
10+
511
console.log(hash.hashCode('Ygritte') + ' - Ygritte');
612
console.log(hash.hashCode('Jonathan') + ' - Jonathan');
713
console.log(hash.hashCode('Jamie') + ' - Jamie');

0 commit comments

Comments
 (0)