Coder Social home page Coder Social logo

linked-list-in-c's Introduction

Linked-List-in-c

Fully intergrated single linked list in c with 16 functions (Detailed comments on operation)

======================= Functionality =======================

listInit() - Initialize the list by creating the first node.

add() - Insert an element at the beginning of the lsit.

append() - Insert an element at the end of the lsit.

insert() – Insert an element at any position of the list.

replace() – Replace an element at any position by the given value.

removeFirst() - Remove the first element of the list.

removeLast() - Remove the last element of the list.

removeElement() – Remove the first occurrence of any element from a non-empty list.

removeAt() – Remove the element at a specified location from a non-empty list.

reverse() - Return a reversed linked list.

deleteList() - Removes the entire list.

search() - Display the position of the given element in the list.

printList() - Display the entire list on to the console.

get() – Return an element from the list at any given position.

listSize() – Return the number of elements in the list.

isEmpty() – Check if the list is empty.

linked-list-in-c's People

Contributors

donheshanthaka 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.