#cpp
Read more stories on Hashnode
Articles with this tag
Bubble sort is a simple comparison-based sorting algorithm. It works by repeatedly stepping through the list to be sorted, comparing adjacent...
ARRAY REPRESENTATION OF STACK:- (LIFO- LAST IN FIRST OUT) EXAMPLE: Initially: empty stack top = -1 step 1: push 3 top ++ step 2: push 5 ...