StacksWhat is a Stack? A Stack is a linear data structure that follows the LIFO (Last-In-First-Out) principle. It contains only one pointer top pointer pointing to the topmost element of the stack. A stack can be defined as a container in which insertion a...Nov 10, 2023·6 min read
RecursionRecursion is defined as a process which calls itself directly or indirectly and the corresponding function is called a recursive function. It is based on the principle of mathematical induction. In recursion we solve a bigger problem by solving the s...Aug 23, 2023·1 min read