Arrays
In an Array Data Structure, a collection of data elements are accumulated at adjacent memory locations. The basic idea behind this data structure model is to store similar types of multiple elements together, making it easier to calculate the position of each data element. You can add an offset to a base value to get the desired location. The base value is the memory location of the first element, typically denoted by the name of an array.
Linked Lists
Linked lists are also a type of linear data structure like arrays. However, this data structure model does not store data elements at contiguous locations. Instead, the data elements are linked using pointers and include a series of connected nodes. Each node stores the address of the next date alongside the data.
Stacks and Queues
The elements in Stack Data Structures are stored per the LIFO (Last In, First Out) principle. In contrast, Queue Data Structures operate similarly to Stack Data Structures by storing elements according to the FIFO (First In, First Out) principle.
Trees
Trees data structure is a non-linear data structure that uses a collection of data elements known as nodes by linking them together to simulate hierarchy. The data elements are not stored sequentially. Instead, they are stored on multiple levels in a hierarchical structure.
Graphs
Graphs data structures are another type of non-linear data structure possessing a finite number of edges and vertices. The data elements are stored in vertices, and the edges represent their connections. This type of data structure is used to denote the network system.
Hashing
Hashing in a data structure is a technique of mapping keys and values in a hash table by using a hash function. The mapping efficiency is directly proportional to the efficiency of the hash function used. This process helps in faster access to data elements.
Bitwise Operation
The Bitwise Algorithms are mainly used to manipulate bits in various ways and perform operations at the bit level. They are typically swift and frequently boost a program's efficiency.
Algorithms
The procedure of performing a computation or solving a problem is known as an algorithm. It serves as a detailed list of instructions to perform defined step-by-step actions in hardware or software-based routines. Algorithms are widely used throughout the different fields of the Information Technology (IT) sector.
Abstract Data Types (ADTs)
An abstract data type is an abstraction of a data structure. It delivers the interface only to which a data structure must adhere. No specific details are provided regarding the programming language or how it should be implemented.
Binary Tree
A Tree Data Structure having at most two children is known as a binary tree. The elements are named right and left child. A Binary Tree node contains the following parts.
- Data
- Pointer to left child
- Pointer to right child
- Double Linked Lists
A linked data structure consisting of a set of sequentially linked nodes is known as a doubly-linked list in computer science. Each linked node comprises three fields:
- 2 link fields
- 1 data field