Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 2fcd5d6

Browse files
changing name
1 parent 249a35c commit 2fcd5d6

File tree

3 files changed

+7
-549
lines changed

3 files changed

+7
-549
lines changed

‎book/chapters/map.adoc‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
A map is a data structure to store pairs of data: *key* and *value*. In an array, you can only store values. The array’s key is always the position index. However, in a *Map* the key can be whatever you want.
44

5-
Map is a data structure that _maps_ *keys* to *values*.
5+
IMPORTANT: Map is a data structure that _maps_ *keys* to *values*.
66

77
Many languages have maps already built-in. This is an example in JavaScript/Node:
8+
9+
.JavaScript Built-in Map Usage
10+
[source, javascript]
11+
----
12+
include::{codedir}/data-structures/linked-lists/linked-list.js[tag=addFirst, indent=0]
13+
----

‎src/data-structures/maps/hash-maps/hashmap.js‎

Lines changed: 0 additions & 249 deletions
This file was deleted.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /