Image for post
Image for post

In part 1 of this series I have talked about Arrays. If you haven’t given it a read, I highly recommend taking a look at it here. In this part of the series I will be writing about another data structure that is very commonly used in problem solving: Linked List.

A Linked list data structure is composed of a data and a reference to the next item in that Linked List. Each item in a Linked List is called a Node. The Nodes are interconnected by the reference that they store in them. The Node class are self-referential in the sense that they have a reference to the next node in the sequence. Unlike Arrays, the Linked List data structure is not built into Swift. So, in this post I will write my own implementation of it to show some of its functionality. …


Image for post
Image for post

What are Data Structures?

Data structures are the basic building blocks used in a system. They allow you to develop efficient, scalable, and maintainable systems. They also provide a means of organizing and representing data needing to be shared across different entities. Data structures not only make sharing data easier, but also make it easy to persist, sort, and search.

All software applications are based on data regardless of the type of system that you are developing. …

About

Md. Zahed Hossain

Full Stack Developer, Engineer, Musician, Tech Curious, Tea Drinker, Sports lover

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store