Data Structures — Introduction

Cem Sayin
2 min readJan 27, 2021

Data Structure: is a way to organize data in a way that enables it to be processed in an efficient time.

Algorithm: is a way designed to solve a specific problem or achieve a specific goal.

Many people bought furniture from IKEA and installed it, or has an opinion on it. The manuel given to us for the installation of the furniture is the algorithm. Every object in the box is the data. You have two options before starting the installation. Are you going to start directly? Or will you group the contents in the box?

You could start to install directly, but this process would surely be difficult and take a long time. Grouping the objects before starting the installation will allow us to access the things we were looking for in the installation process much faster. This organizing process we do for grouping is called data structures in software engineering.

Types of Data Structures

There are many data structure types for different solutions to different problems. We use them in our daily life without even realizing it.

Do you create a todo list before starting work in the morning? Congratulations you have an Array.

Processes have an input and output in the work we do. So what if we looked at the relational processes from above? You will see a Linked List.

When you put an item into the truck for shipment, the last item you put in, comes out first. This is a Stack.

If you join the queue to watch your favorite concert in the front row, you will enter the hall first. I hope you don’t wait too long in the Queue.

If you need to go to many different cities in a short time for sales , you should plan from which city to where you will go. This is Graph.

If you view your family tree for finding your grand parents, this is a Tree.

We will discuss them more detail and technical next stories.

Thank you for your time.

Have a nice day.

--

--