Posts Tagged ‘Linked Lists’

Linked Lists using classes

Written by Ali. Posted in C++

Linked Lists using Classes

Hello everyone and we’re back again with yet another post on Linked Lists series. This time, we introduce to you a much wider concept of linked lists that is more feasible and easy to implement; implementation of Linked Lists using classes.

Linked Lists using Structs

Written by Ali. Posted in C++

Hello world. In the last post we discussed at length about how to implement Linked List syntax and how to create one. Now we are to discuss how to begin a list and how to increase its size and how to keep a track of all the information in it.

Linked Lists: An Introduction

Written by Ali. Posted in C++

There are many ways provided by the C language to store information. The most basic of them are variables of multiple types i.e. int, float, char etc. But when we require storing the information of a lot of such variables, the language has provided us a facility of arrays. Arrays are the most basic means of storing very large amount of data, and the sildenafil vs viagra language allows us the facility to manipulate the data in those arrays in any way we like. But arrays are static and if we need to allocate data on the run time, we use dynamic arrays to store space and allocate memory on the system as per our use. Dynamic arrays are helpful in many scenarios in this language, but sometimes the management of these dynamic arrays can turn to be an issue. There is one more way that C language allows to store information through, the use of Linked Lists.

Inserting a node Linked Lists

Written by Ali. Posted in C++

Hello everyone. In the series of Linked Lists we have been doing in CodingMash, we have known how to create Linked Lists and what glitches to avoid. In this post, we’ll see how to add a new node anywhere in the Linked List during runtime operation of the program.

Deleting a node in Linked List

Written by Ali. Posted in C++

Deleting a node in Linked List in C++

Hello people and welcome to yet another post of our series on Linked List. We have learnt how to create and traverse a Linked List. We also came to know how to add a node to a particular location in a Linked List. In this post, we’ll learn how to delete a node in a Linked List.