• Stars
    star
    220
  • Rank 180,422 (Top 4 %)
  • Language
    Dart
  • Created about 6 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Implementation of data structures and algorithms in Dart programming language.

Algorithms in Dart

Build Status

Implementation of several algorithms with Dart programming language.

Use dartdoc to generate documentation.

Lists

List data structures are implemented under the package lists.

SinglyLinkedList

lib/lists/singly_linked_list.dart

DoublyLinkedList

lib/lists/doubly_linked_list.dart

CircularLinkedList

lib/lists/circular_singly_linked_list.dart and lib/lists/circular_doubly_linked_list.dart

Stack

lib/lists/stack.dart

Queue

lib/lists/queue.dart

Heaps

BinaryHeap

All base classes are in lib/heaps/base.dart

lib/heaps/binary_heap.dart - BinaryHeap, MinHeap and MaxHeap

Sorts

lib/sorts/common.dart contains helper functions and typedefs for sorting algorithms.

lib/sorts/exchange.dart - Bubble Sort, Odd-Even Sort, Gnome Sort, Quick Sort

lib/sorts/insertion.dart - Insertion Sort

lib/sorts/selection.dart - Heap Sort, Selection Sort

lib/sorts/distribution.dart - Pigeonhole Sort, Counting Sort, Radix Sort

lib/sorts/merge.dart - Merge Sort

Searching

lib/search/sequential.dart - Linear Search

lib/search/interval.dart - Binary Search

Trees

Binary Search Tree

lib/trees/binary_search_tree.dart

AVL Tree

lib/trees/avl_tree.dart

Red Black Tree

lib/trees/red_black_tree.dart

Math

lib/math/common.dart - GCD, LCM, Factorial

Graph

ADT

lib/graph/graph.dart - Graph ADT

lib/graph/vertex.dart - Vertex

lib/graph/traversal.dart - Traversal ADT to represent graph traversal results.

Traversals

lib/graph/dfs.dart - Algorithm for DFS traversal on graphs.

lib/graph/bfs.dart - Algorithm for BFS traversal on graphs.

Graph Paths

lib/graph/topological_sort.dart - Topological sort on acyclic digraphs.

lib/graph/bellman_ford.dart - Bellman Ford Algorithm

lib/graph/dijkstra.dart - Dijkstra's algorithm

More Repositories

1

covid19

A Phoenix app to display Novel Coronavirus (COVID-19)
Elixir
94
star
2

modular-mobx-boilerplate

MobX + React + JavaScript + Aphrodite + Enzyme + Mocha + Hot-Loading + Redux DevTools
JavaScript
38
star
3

ex_algo

Data Structures and Algorithms implemented with Elixir
Elixir
37
star
4

advent_of_code

Advent of Codes with Elixir [2015 ~ 2022]
Elixir
23
star
5

karma_werks

A project management tool created with Elixir, Phoenix and Dgraph
Elixir
20
star
6

speakr

An open source tool to help with speaker selection and CFPs, focusing on tech conferences
Elixir
18
star
7

data-playground

পাইথন ও ডাটা নিয়ে কিছু খেলাধুলা আর আড্ডাবাজি। কিছু নোটবুক শেয়ারিং, কিছু ব্লগিং আর কিছু গল্পগুজব।
8
star
8

aocgo

Advent of Code problems solved with Go
Go
7
star
9

orm_snippets

Code examples to be used for my session on PyConCa 2019
Python
6
star
10

fleetr

Fleetr - A GPS Fleet Management System
Elixir
6
star
11

mafinar.exs

My personal Elixir stuff (i.e. .iex.exs, templates etc)
Elixir
4
star
12

bkash-ex

An Elixir wrapper for bKash API
Elixir
4
star
13

airdates_api

GraphQL API layer over data queried from http://airdates.tv
Elixir
4
star
14

elixir_algorithms

algorithms played with through elixir
Elixir
4
star
15

pycon-tutorial-graphql

Python
4
star
16

chuckx

Random Chuck Norris Jokes (A nod to Hasin Haydar's GoChuck)
Elixir
4
star
17

clock_io

PoC attendance tracker with collision detection
Python
4
star
18

ninety-nine-elixir-problems

An attempt for an Elixir version of the Ninety-Nine Prolog Problems
Elixir
4
star
19

hydjack

It's Django. It just got Hy. A django reusable app that makes it easy to make apps with Hy.
Hy
3
star
20

rideiculous

Ride sharing app to be used as an example in my session in PyConCA 2018
2
star
21

pyachal

Pyachal: A minimalistic chatting application written in Meteor. I am using it for my presentation in the Meteor conference.
JavaScript
2
star
22

dart-rate

A simple link rating app to learn fullstack Dart
Dart
2
star
23

dgraphex

A tiny Dgraph client in Elixir.
Elixir
2
star
24

my-elixir-diary

HTML
2
star
25

aoclj

Advent of Code solutions with Clojure
Clojure
2
star
26

miles_to_go

A personal location tracking app.
Elixir
2
star
27

code-shoily-vimrc

The VIMRC I've been using. Cleaned up a little from https://github.com/code-shoily/vimrc
Vim Script
2
star
28

mafinar-ca

Where Mafinar Khan writes about stuff.
1
star
29

project-euler-in-golang

Solving problem Project Euler problems as I learn Golang.
Go
1
star
30

phoenix_bookkeeping

A simple bookkeeping API written in Phoenix
Elixir
1
star
31

mongo-insert-demo

Rough demo of data insertion for Mongo and Go
Go
1
star
32

project_boilerplate

Python
1
star
33

tmdb_dart

Dart wrapper for the movie database API
Dart
1
star
34

advent-of-dart

Solutions of AoC 2018 in Dart
Dart
1
star
35

advent_crystal

Advent of Code solved in Crystal Programming Language
Crystal
1
star
36

lotus

SurfaceUI wrapper for UIKit
Elixir
1
star
37

algorithms_in_crystal

Implementation of various algorithms using the Crystal programming language.
Crystal
1
star
38

fwdeop-islands

The implementation of the project described and walked through in the book Functional Web Development with Elixir, OTP and Phoenix
Elixir
1
star
39

vts_suite

[ In-Progress ] Elixir/React conversion of a PoC Asset Tracking System I made with Django in 2012
JavaScript
1
star
40

for_humans

data |> humanize
Elixir
1
star