Nepedia
Back to Discover
Independent Reader
💻

Data structure

technology Maturity 11-13 Next article →

Computers need to stay organized. They use a data structure to store information. A data structure is a way to arrange and keep data.

Hash table 3 1 1 0 1 0 0 SP
Hash table 3 1 1 0 1 0 0 SP

This helps computers find things quickly. Different tasks need different kinds of structures.

One type is an array. An array keeps items in a specific order. You can find an item using its index. An index is a number that shows its place.

Python 3. The standard type hierarchy-en
Python 3. The standard type hierarchy-en

Another type is a linked list. This is a group of nodes. Each node has a value and points to the next one. You can add or remove items easily in a list.

Some structures help with specific jobs. A hash table uses a math rule to find values fast. These are used in dictionaries. A tree organizes data in branches. One part is called the root. Trees are great for searching. Finally, graphs use nodes and edges. Edges are connections between nodes. Graphs can show how people are linked in social networks.

160 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (2)
File:Hash table 3 1 1 0 1 0 0 SP.svg
Hash table 3 1 1 0 1 0 0 SP.svg
File:Python 3. The standard type hierarchy-en.svg
Python 3. The standard type hierarchy-en.svg
More to explore

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.