Skip to content

antonsakhanovych/bin.h

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

bin.h

Priority queue implementation

Get started

Check out bin.h for methods available.

// use binheap_init() to initialize binary heap
Binary_Heap *binh = binheap_init();

// to free memory use
binheap_deinit(binh);

Other notes

Since binheap_construct(int* arr, size_t size); doesn’t allocate memory for the array. You should pass malloc’d array.

About

Binary heap in C

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages