Data structure operations
16 May 2024 (Updated 18 May 2025)
When working with most data structures, you’ll typically perform four operations:
- Read: You want to look up some data at a particular point in the data structure (e.g., look up the value at index 4 of an array).
- Search: You want to find a value within the data structure (e.g., find the value “foo” within an array).
- Insert: You want to add a value to the data structure.
- Delete: You want to remove a value from the data structure.
Tagged:
Data structures & Algorithms