May 12, 2022

Stack in Data Structure

A stack is a linear list where insertion and deletion can perform only at one end. and the end where we perform the operation is called the top of the stack. It uses Last-In-First-Out (LIFO) functionality means the item that inserts last will out first. In the technical form insertion operation in the stack is […]

May 2, 2022

Complexity of Algorithm

Complexity means classifying an algorithm based on the amount of time and space an algorithm needs to specify the growth of time/space requirements as a function of the input size. so we have two things to measure the complexity of the algorithm. Time complexity It measures the running time of the program as a function […]