Skip to content

Collection of basic implementations of algorithms for educational use

License

Notifications You must be signed in to change notification settings

Koura/algorithms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Collection of Algorithms

Simple standalone implementations of algorithms in Zig

Table of Contents

About

The purpose of this project is to provide example implementations of algorithms with minimal dependencies for educational use. The algorithms implemented here are meant to be easy to run and try out to support reviewing, discovering and gaining a deeper understanding of the algorithms showcased in this repository. Optimizations are applied to implementations if they either make the implementation easier to understand or highlight the essence of the algorithm well.

Prerequisite

Running

zig build bubble_sort

Use zig build --help to see other available algorithms.

Testing

Heap sort:

zig test sorting/heap_sort.zig --main-pkg-path .

Everything else:

zig test <path_to_algorithm>.zig

🔨 Algorithms

Search Trees

Sorting

Releases

No releases published

Packages

No packages published

Languages