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.

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read more →

Top comments (0)

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

Retry later