## Data Structure: Singly Linked List in Python

Singly linked list is a linear collection of elements(nodes), connecting to the next element(node). We can always go to the next element(node) from any node, but can not go backward. In this article, we are discussing in detail, the implementation of Singly Linked List in Python.

## Data Structure: Singly Linked List

Summary Name Singly Linked List Type Linked List Use cases Related Data Structures Doubly Linked ListTree Implementations Definition A singly linked list is a list of items, where each element has reference to the next element. Elements do not have info of the previous element. So we can only go to the next element while … Read more

## Data Structure: Singly Linked List in PHP

A singly linked list is a list of items, where each element has reference to the next element. Elements do not have info on the previous element. So we can only go to the next element while traversing a singly linked list. In this article, we are discussing in detail, the implementation of Singly Linked List in PHP.

## Data Structure: Breadth First Search(BFS) in JavaScript and TypeScript

NOTE In this article, we are discussing in detail, the implementation of Breadth First Search(BFS) JavaScript and TypeScript. Check the link below to check the details of Breadth First Search(BST)- Step #1: Node Class Step #2: BfsTree Class Step #3: Insert Method Step #2: bfs Method Full Source Code Demo Output: Testing Time Complexity Operation … Read more

## Data Structure: Heap

Heap is a tree-based data structure. The specialty of the heap is in the ordering of the nodes. There can be 2 types of heap-

## Data Structure: Graph

Graph data structure contains nodes/vertices, which are connected by arcs/edges.

## Data Structure: Stack

Stack is a data structure that has only one end for performing operations. All operations can be performed at the head, be it adding(pushing) element or removing(popping) element. Stack follows the LIFO – Last In First Out principle, so the item which is inserted at the last, is removed(popped) first.

## Data Structure: Queue

Queue follows the FIFO – First In First Out principle, so the item which is inserted at first, will go out first. Elements are added to the back of the queue and pulled out from the front of the queue.

Linked list is a linear collection of data. A linked list is a data structure, that can store any data type. Data is stored in a linear order, and we can only traverse through the list and then select some items.

## Data Structure: Doubly Linked List in JavaScript and TypeScript

A Doubly linked list is similar to a Singly Linked List, but it holds reference to the previous node also. So we can traverse both forward and backward from any node. In this article, we are discussing in detail, the implementation of Doubly Linked List in JavaScript and TypeScript.