Giter Club home page Giter Club logo

cn_list's Introduction

CN_List

A C library that implements Circular Doubly-Linked Lists in C.

Linked Lists are among the simplest of data structures. In C++, these are included in STL such as Doubly-Linked Lists which you can use by using "#include <list>". But what about in C? You have to make it yourself or use a library that someone else wrote for you.

CN_List is a generic list container capable of holding any data type of any size. This is because you specify the type while initiating the list. All nodes created in that list will, therefore, be able to hold that number of bytes. It is dynamically resizable, of course. It is different from STL Lists though, as it is also circular. Therefore, the first node is directly linked to the last node and all operations involving the first or last node are in constant time. All operations that involve modifying an entry in between the first and last node is linear time.

Full documentation at: http://web.eecs.utk.edu/~ssmit285/lib/cn_list/index.html
The documentation has details and examples on every single function in the library, as well as a guide comparing it to C++ Lists.

cn_list's People

Contributors

idestykk avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.