10

I'm looking for a C library (not C++) that implements set operations. I need to support the following operations:

  • intersection
  • union
  • elementOf
  • isSubset
  • insert (add to set)
  • clone
  • equals

Could I just use the libc binary tree routines?

Barry Brown
  • 20,233
  • 15
  • 69
  • 105

1 Answers1

3

I haven't used it myself, but pblSet looks solid.

Johan Kotlinski
  • 25,185
  • 9
  • 78
  • 101