algorithms Tower of Hanoi (Recursive & Non-recursive) YASH PAL, February 10, 2023May 28, 2024 Algorithm – Tower of Hanoi (recursive) TOWER(N,BEG,AUX,END)This procedure gives a recursive solution to the Towers… Continue Reading
Parenthesis matching using stack YASH PAL, January 26, 2023May 28, 2024 Parenthesis matching algorithm PARENTHESIS_MATCHING (EQ, VALID) This algorithm checks whether the expression EQ written in… Continue Reading
data structures Polish Notation YASH PAL, December 10, 2022May 28, 2024 In polish notation, the operator is placed before the operands. Polish notation has types called… Continue Reading
Mathematical Notation in Data Structure YASH PAL, December 10, 2022May 28, 2024 Mathematical Notation in Data Structure – First of all we will consider various types of… Continue Reading
data structures Operations on Stack YASH PAL, December 10, 2022May 28, 2024 Operations on stacks: The following operations are performed on stacks. Creating an empty stack PUSH… Continue Reading
algorithms Selection Sorting Algorithm YASH PAL, November 26, 2022May 28, 2024 Selection Sorting Algorithm: The selection sort starts from the first element and searches the entire… Continue Reading
algorithms Matrix in Programming YASH PAL, October 8, 2022May 28, 2024 Two-dimensional array(Marix) – A two-dimensional array is a list of finite numbers m*n homogeneous data… Continue Reading
algorithms Arrays in Data Structure YASH PAL, October 4, 2022March 7, 2023 An array is a list of a finite number of homogenous data elements (i.e. data… Continue Reading
data structures What is Data Structure YASH PAL, September 21, 2022March 6, 2023 Data: – The term data simply refers to a value or a set of values… Continue Reading
data structures Queue in Data Structure YASH PAL, May 12, 2022March 6, 2023 The queue is a linear list in which we can insert data from one end… Continue Reading