Figure 2. Blockchain represented as Linked List Data Structure
In this post, you will learn about similarity and differences between linked list and Blockchain.
The most trivial way to understand What is Blockchain is to visualize Blockchain as a crude form of the Linked List data structure that we read in one of our engineering classes.
Simply speaking, a Blockchain can be defined as a linked list of a group of transactions (block) which is connected with each other using hash pointers rather than pointers as in the case of the linked list.
The following diagram represents the Linked List data structure:
Figure 1. Linked List Data Structure
The following diagram represents the Blockchain.
Figure 2. Blockchain represented as Linked List Data Structure
Note some of the following characteristics of a block:
Note some of the following similarity between Linked List and Blockchain.
The following is the list of difference(s) between a linked list and a blockchain:
In this post, you learned about similarity and differences between linked list data structure and Blockchain.
Did you find this article useful? Do you have any questions or suggestions about this article? Leave a comment and ask your questions and I shall do my best to address your queries.
We’ve all been in that meeting. The dashboard on the boardroom screen is a sea…
When building a regression model or performing regression analysis to predict a target variable, understanding…
If you've built a "Naive" RAG pipeline, you've probably hit a wall. You've indexed your…
If you're starting with large language models, you must have heard of RAG (Retrieval-Augmented Generation).…
If you've spent any time with Python, you've likely heard the term "Pythonic." It refers…
Large language models (LLMs) have fundamentally transformed our digital landscape, powering everything from chatbots and…