DataStructure["type",data]
represents a data structure.


DataStructure
Listing of Data Structures »DataStructure["type",data]
represents a data structure.
Details

- Data structures are built with the Wolfram Compiler.
- Data structures provide efficient operations for holding and manipulating data.
- Certain data structures provide mutable operations in the Wolfram Language.
- Information for a DataStructure may include the following properties:
-
"Type" data structure type "Operations" operations or methods of the DataStructure "Functions" functions that can be applied to a DataStructure
Examples
open all close allBasic Examples (1)
Create an instance of a linked list:
An expression form of the data structure can be generated by InputForm:
The expression form can be used to recreate the data structure:
Scope (2)
Information (1)
See Also
CreateDataStructure DataStructureQ $DataStructures CompiledCodeFunction FunctionCompile Typed
Function Repository: IndexedQueue MergeFindSet
Related Guides
History
Text
Wolfram Research (2020), DataStructure, Wolfram Language function, https://reference.wolfram.com/language/ref/DataStructure.html.
CMS
Wolfram Language. 2020. "DataStructure." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/DataStructure.html.
APA
Wolfram Language. (2020). DataStructure. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/DataStructure.html
BibTeX
@misc{reference.wolfram_2025_datastructure, author="Wolfram Research", title="{DataStructure}", year="2020", howpublished="\url{https://reference.wolfram.com/language/ref/DataStructure.html}", note=[Accessed: 13-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_datastructure, organization={Wolfram Research}, title={DataStructure}, year={2020}, url={https://reference.wolfram.com/language/ref/DataStructure.html}, note=[Accessed: 13-August-2025]}