Skip to content

About

Builds a binary expression tree from a postfix string using a stack. Demonstrates stack, tree construction, and recursion in C++.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Expression Tree from Postfix (C++)

Converts a postfix expression into a binary expression tree using a stack.

Topics

  • Stack
  • Binary tree construction
  • Recursion

Compile & Run

g++ -std=c++17 expression-tree.cpp -o expr-tree
./expr-tree

About

Builds a binary expression tree from a postfix string using a stack. Demonstrates stack, tree construction, and recursion in C++.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages