Bifalgorithm post · Computer science one · Dynamic Data Structures
What dynamic data structures does the C standard library provide?
What dynamic data structures does the C standard library provide? (Computer science one · Dynamic Data Structures) — "20.5. Dynamic Data Structures The C stand…
Ideas in this flowchart
- Dynamic data structures in the C ecosystem
- The C standard library lacks a wide variety of advanced dynamic data structures
- Linked lists and sets are examples of structures not broadly provided by the standard library
- As of C89 and POSIX.1, the standards define a limited set of dynamic structures
- Hash tables and binary search trees are provided
- Implementations of other dynamic data structures are not required
- You must implement the missing structures yourself
- Alternatively, you can use a third-party library
- glibc, the GNU C library, is an example of a third-party library: http://www.gnu.org/software/libc/