12 Commits

Author SHA1 Message Date
19023148ba feat: Update the implementation of hash_map_open_addressing.js and .ts (#881)
* add permutations_ii.c and re-implement permutations_i.c

* Update the implementation of hash_map_open_addressing.js and .ts

* Update hash_map_open_addressing.js

* Update hash_map_open_addressing.js
2023-10-24 23:46:34 +08:00
da5ef293d9 fix a typo 2023-10-11 17:39:56 +08:00
ff8e7ceec5 Several bug fixes. 2023-09-24 20:38:21 +08:00
8effa58a59 Several bug fixes. 2023-09-20 01:53:44 +08:00
5d7e0a59b1 Add JavaScript and TypeScript code of top_k and update some code style (#686)
* Update JS and TS code style

* Add JavaScript and TypeScript code of top_k

* Update top_k.ts

* Apply suggestions from code review

Co-authored-by: Justin Tse <xiefahit@gmail.com>

* Apply suggestions from code review

Co-authored-by: Justin Tse <xiefahit@gmail.com>

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2023-08-17 05:00:35 +08:00
e97eee0e18 feat(chapter_hashing): Add js and ts codes for chapter hashing (#675)
* refactor(chapter_hashing): Remove unnecessary chaining operator

* feat(chapter_hashing): Add js and ts codes for chapter 6

* refactor(chapter_hashing): Optimize the remove function logic

* refactor(chapter_hashing): Remove unnecessary chaining operator

* refactor(chapter_hashing): use const instead of let
2023-08-10 23:04:41 +08:00
9563965a20 Add the codes of hashmap (#553)
of chaining and open addressing
2023-06-14 02:01:06 +08:00
518b9efabc Update a comment in array_hash_map 2023-03-15 03:48:31 +08:00
d5afd93571 Update array_hash_map 2023-03-15 03:11:43 +08:00
0e49f0053a Update the format of the file headers
of c, cpp, java, js, ts, swift.
2023-01-06 03:39:19 +08:00
60c715b041 Update JavaScript style (Chapter of Hashing) 2022-12-26 23:45:23 +08:00
630bbac285 Add the JavaScript code (Chapter of Hashing) 2022-12-26 23:02:39 +08:00