Skip to content

DSA

  • Algorithms
  • DSA
  • Array
  • Stack
  • Queue
  • Matrix
  • Programs

DSA

  • Algorithms
  • DSA
  • Array
  • Stack
  • Queue
  • Matrix
  • Programs

Day: January 26, 2023

  1. Home
  2. 2023
  3. January
  4. 26
January 26, 2023

Parenthesis matching using stack

  • data structures
  • stack
  • YASH PAL

Parenthesis matching algorithm PARENTHESIS_MATCHING (EQ, VALID) This algorithm checks whether the expression EQ written in infix notation is valid or not and assigns TRUE or FALSE to VALID. 1. Scan EQ from left to right until the end of the equation is encountered: 2.     If”(“is encountered then: put it in the STACK. 3.    […]

  • Tags:
  • DSA
  • stack
Read More

Asides

  • Parenthesis Matching program in C programming
  • Tower of Hanoi Non-Recursive Using Stack program in C programming
  • Tower of Hanoi Recursive program in C Programming
  • Check the Palindrome number program in c programming
  • Print the reverse of a string using Stack program in c
  • Evaluate a Postfix and Prefix equation program in c
  • Infix to Postfix and Prefix Equation program in c
  • Stack Operations program in c Programming
  • Quick Sorting (Recursive and Non Recursive)
  • Tower of Hanoi (Recursive & Non-recursive)
Home About Contact Privacy DMCA
Copyright © datastructuresandalgorithms.com 2022