mirror of
https://github.com/krahets/hello-algo.git
synced 2024-12-27 14:56:29 +08:00
Removed hash_map class
This commit is contained in:
parent
ae0abb6d0c
commit
5724719485
1 changed files with 33 additions and 38 deletions
|
@ -4,8 +4,7 @@
|
||||||
* Author: Daniel (better.sunjian@gmail.com)
|
* Author: Daniel (better.sunjian@gmail.com)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class hash_map {
|
/* Driver Code */
|
||||||
constructor() {
|
|
||||||
/* 初始化哈希表 */
|
/* 初始化哈希表 */
|
||||||
const map = new Map<number, string>();
|
const map = new Map<number, string>();
|
||||||
|
|
||||||
|
@ -43,7 +42,3 @@ class hash_map {
|
||||||
for (const v of map.values()) {
|
for (const v of map.values()) {
|
||||||
console.info(v);
|
console.info(v);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
export {};
|
|
||||||
|
|
Loading…
Reference in a new issue