Set (InstanceTopic, 2)

From Hi.gher. Space

(Difference between revisions)
(add)
Line 1: Line 1:
-
A '''set''' is a variable which takes multiple values at the same time, with all values unique and in no specific order, as opposed to a [[list]] which can have duplicate entries and specifies an order.
+
A '''set''' is an unordered collection of unique elements. In contrast, a ''sequence'' is a collection of elements with a specific order and which need not be unique.
[[Category:Mathematics]]
[[Category:Mathematics]]

Revision as of 23:25, 4 December 2010

A set is an unordered collection of unique elements. In contrast, a sequence is a collection of elements with a specific order and which need not be unique.