File:Dynamic array.svg
Summary
Description |
English: Demonstrating a series of insertions into a dynamic array data structure, implemented using simple geometric expansion. Black squares indicate entries in the underlying array that are in use to hold dynamic array data, and grey dotted squares indicate entries in the underlying array that are reserved for future expansion. Most insertions are fast, while slow insertions (those which may need to reallocate memory and/or copy the entire array contents) are labelled with turtles. The logical size and capacity of the dynamic array after all insertions are complete is labelled. Turtle images based on public domain file File:Turtle-icon.svg. |
Date | |
Source | Own work |
Author | Dcoetzee |
Licensing
I, the copyright holder of this work, hereby publish it under the following license:
![]() ![]() |
This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication. |
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.
|