Skip to content

Conversation

@Prasoon31Pandey
Copy link

This program converts an infix expression (like A+B*C) into a postfix expression (A B C * +)
using the Stack data structure. It follows operator precedence and associativity rules to ensure
the correct order of operations.

Example:
Input: A+BC
Output: ABC
+

Time Complexity: O(n)
Space Complexity: O(n)

Closes #6638

This program converts an infix expression (like A+B*C) into a postfix expression (A B C * +)
using the Stack data structure. It follows operator precedence and associativity rules to
ensure the correct order of operations.

Example:
Input:  A+B*C
Output: ABC*+

Time Complexity: O(n)
Space Complexity: O(n)
@RonnyPfannschmidt
Copy link
Member

please don't put random code dumps of random other programming languages into opensource repos

just use a own repo to play, don’t waste maintainers time

@webknjaz webknjaz added the spam label Oct 5, 2025
@pytest-dev pytest-dev locked as spam and limited conversation to collaborators Oct 5, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants