This repository is an ongoing project of implementing generic data structures and algorithms in ANSI C. I find I often use the same constructs that require a lot of boilerplate code, so I made this repository to both organize these constructs and allow easy integration of these constructs into existing projects.

My design philosophy with this repository is to offer a minimalistic API for each data structure, containing all tools needed to easily build more complex/niche constructs. Portability is top priority, so only ANSI C is used, and no header/source pair relies on another header/source pair. Furthermore, to promote being used in embedded systems, iterative algorithms are used exclusively over recursive algorithms, and each data structure is instrusive (for better memory locality).

Features

  • Doubly Linked List
  • Red Black Tree
  • Hash Table

Project Activity

See All Activity >

Follow cdsa

cdsa Web Site

Other Useful Business Software
MongoDB 8.0 on Atlas | Run anywhere Icon
MongoDB 8.0 on Atlas | Run anywhere

Now available in even more cloud regions across AWS, Azure, and Google Cloud.

MongoDB 8.0 brings enhanced performance and flexibility to Atlas—with expanded availability across 125+ regions globally. Build modern apps anywhere your users are, with the power of a modern database behind you.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of cdsa!

Additional Project Details

Registered

2018-01-14