c-algorithms icon indicating copy to clipboard operation
c-algorithms copied to clipboard

A library of common data structures and algorithms written in C.

Results 12 c-algorithms issues
Sort by recently updated
recently updated
newest added

Hi there, During wrapping this into a [python libraty](https://github.com/synodriver/pyalgorithms), I found ```rb_tree_subtree_height``` missing in ```rb-tree.c```, which appears in the header file. Did I miss something?

i want to use the lib in mcu( Inconvenient to use malloc and free), i find it only only can register "free function" useing your api.

https://github.com/fragglet/c-algorithms/blob/17cd712ef84948ce5c3faae911bc797ebad26e09/src/rb-tree.c#L377 This line should check the keys, not the values. Separately, does this repro accept new features such as implementing the missing deletion functionality in rbtree? Thanks!

I preface that I'm quite new to C so this may be completely off. However, in: https://github.com/fragglet/c-algorithms/blob/5b0555f4aa832a9d4c8662316994faa80f52ae93/src/set.c#L256-L275 the `0` return value is used both for an operation that does not...

Splint is a static code analysis tool, splint works with annotations. These annotations help you to do two things, it defines how functions behaves and which assumptions on input are...

Yes, I know I could examine all the headers available, but it'd be nice if each documentation page listed which header(s) you need to include to use it.

At line 119 of _https://github.com/fragglet/c-algorithms/blob/master/src/avl-tree.h_, there is a function pointer for **AVLTreeCompareFunc** declared. The declaration is: ``` typedef int (*AVLTreeCompareFunc)(AVLTreeValue value1, AVLTreeValue value2); ``` But the documentation (and code) shows...

Hi, I am using the arraylist library in cython hobby project. So far so good. My project is a win32 api ui library. I have list box control . It...