Skip to content

Commit d5d3832

Browse files
committed
Added clarification
1 parent a9a9834 commit d5d3832

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Ordered Set/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Ordered Set
2-
An Ordered Set is a collection of unique items in sorted order. Items are usually sorted from least to greatest. The Ordered Set data type is a representation of a [Set in Mathematics](https://en.wikipedia.org/wiki/Set_(mathematics)). It's important to keep in mind that two items can have the same *value* but still may not be equal.
2+
An Ordered Set is a collection of unique items in sorted order. Items are usually sorted from least to greatest. The Ordered Set data type is a hybrid of a [Set](https://en.wikipedia.org/wiki/Set_(mathematics)), and a [Sequence](https://en.wikipedia.org/wiki/Sequence). It's important to keep in mind that two items can have the same *value* but still may not be equal.
33
For example, we could define "a" and "z" to have the same value (their lengths), but clearly "a" != "z".
44

55
## Why use an Ordered Set?

0 commit comments

Comments
 (0)