Data Structures And Algorithms

TREE

Tree

Previous Next Tree Tree can be defined as a collection of entities (nodes) linked together to simulate a hierarchy. Some Terminology That Is Used In Tree NODE Each data item in a tree. degree of node The total numvber of childeren associated with a nodes. degree of a tree Highest child of a node in

Tree Read More »

queue

Queue

QUEUES Previous Next Types Of Queue In Data Structure (Queue Variations) The standard queue data structures have the following variations: Simple Queue (Queue) Double-ended Queue (deque) Circular Queue Priority Queue What Is The Queue And How It Differs From The Stack We can also say that a queue is a sequentially ordered list where insertions

Queue Read More »

Expression Parsing Infix, Postfix, And Prefix

Expression Parsing Infix, Postfix, and Prefix

Expression Parsing (Infix, Prefix and Postfix) Previous Next Any arithmetic expression can be written in three different but equal notations, i.e. without modifying an expression’s meaning or output. Those notations are − Infix Notation Prefix (Polish) Notation Postfix (Reverse-Polish) Notation Expression Parsing There are 3 types of notation we read in the first paragraph. We will read

Expression Parsing Infix, Postfix, and Prefix Read More »

STACK

Stack

Stack Previous Next Before going to the stack, we will read the enclosure of Abstract Data Types (ADT) extensively. What is ADT, what methods come in it and which stack is used? At the same time, we will also read and understand the functionality of each method of Abstract Data Types. What is an Abstract

Stack Read More »

ARRAY

Array

Array Previous Next . What is an Array? An array is a collection of similar data types that store items in contiguous memory locations. It is also known as the Subscripted variable. Arrays are very powerful data structures that store lists of elements Arrays are classified as Homogeneous Data Structures because they store elements of

Array Read More »

Introduction To Data Structures And Algorithms

Introduction to Data Structures and Algorithms

Introduction to Data Structures and Algorithms Previous Next Why Data Structures ? They help to manage and save the data in a structured form. Data Structures(DS) help to organization of data needed to solve the problem. DS make code cleaner and easier to understand. They make a difference between “OK” program and “OUTSTANDING” program Definition

Introduction to Data Structures and Algorithms Read More »