DEV Community

WolfOf420Stret
WolfOf420Stret

Posted on

Data Structures and Algorithms in Dart: Introduction

I started learning Dart and Flutter about three years ago and have become a Dart geek ever since. I have decided to be writing a series of blog posts on the language itself.

What better way to delve deep into a language than by looking at Data Structures and Algorithms.

This post assumes that you have some basic knowledge of programming and understand the basic definition of algorithms. I believe programmers are like dancers and while dancers dance to music we do so to algo-rythms. See what I did there?
Image description

We'll start with Data Structures.

What Are Data Structures ?

By Definition from Geeks For Geeks

A data structure is a storage that is used to store and organize data. It is a way of arranging data on a computer so that it can be accessed and updated efficiently.

Data Structures can be classified into two categories :

  • Primitive Data Structures

  • Non-Primitive Data Structures

Primitive Data Structures

These are the pre-defined data structures. In most programming languages, these include String, Int, double, boolean , long. short, float, byte and char .

Non Primitive Data Structures

These are used in the storage of a collection of elements. They can be further grouped into

  • Linear Data Structures

  • Non Linear Data Structures

Linear Data Structures

These are data structures that store elements in a linear sequence. You can go through all the data in a linear data structure through one run.

AWS GenAI LIVE image

How is generative AI increasing efficiency?

Join AWS GenAI LIVE! to find out how gen AI is reshaping productivity, streamlining processes, and driving innovation.

Learn more

Top comments (0)

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay