Giter Site home page Giter Site logo

linkedlist-in-c's Introduction

LinkedList-in-C

A linked list is a linear data structure composed of nodes where each node contains a value and a pointer to its next node. This particular way of managing information allows it to be stored in non-contiguous memory addresses, avoiding the need to restructure all the information to be stored linearly in memory.

Each node stores a certain value and a pointer to the memory address of its next node.

This repository will consist of recreating the different linked lists that exist:

  • Simply linked lists.
  • Double linked lists.
  • Circular lists.
  • Double circular lists.

The lists will be recreated following this order.

All the lists will have in its headers a typified variable to determinate the type of the values to be stored in the linked list. You can change this typedef to your liking.

The instructions for testing the lists will be the same for all lists. Each list will contain these files:

  • main.c
  • linkedList.h

(The name of the files can change depending on the name of the linked list).

With these files in your possession, all you need to do is compile these files in C using the following command:

gcc main.c -o linkedList

To run it you will need the following command:

./linkedList

Simply linked list Imagen de ejemplo

linkedlist-in-c's People

Contributors

danielfeitopin avatar efraileg avatar

Stargazers

 avatar

Watchers

 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.