Skip to content

bcrafton/data-structures

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Data Structures

The repo implements a bunch of common data structures in C
These could definitely be implemented better
Some Problems:

  1. Use void* to make generic and does not take size of object, so can only pass and receive pointers
  2. Dont have the nice wrapper stuff that C allows

Compilation

This is written for gcc.

Example compilation:
gcc graph_test.c ../src/graph.c ../src/list.c ../src/vector.c ../src/heap.c ../src/queue.c ../src/stack.c ../src/tree_set.c ../src/rbtree.c ../src/tree_map.c ../src/priority_queue.c ../src/iterator.c

Running the Code

./a.out 100

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published