Expression parsing
Problems on expression parsing, including evaluating arithmetic and logical expressions, converting between infix, prefix and postfix notation, checking bracket balance, parsing simple programming languages and matching patterns.
The stack article in the Data structures section and the recursion article cover the two usual approaches. Related problem sets are under Stacks and Strings.
Problemas
From prefix to infix#731
Media (≈1350)
Robot#759
Difícil (≈1650)
Recursion#1391
Muy difícil (≈2050)
Parenthesis#1801
Muy fácil (≈850)
Guess the Numbers#3069
Media (≈1350)
Testing Circuits#3292
Muy difícil (≈2050)
ASCII Expression#3436
Media (≈1350)
Where's Wally#3466
Muy fácil (≈850)
Mobile Network#3601
Muy difícil (≈2050)
Expressions#3837
Difícil (≈1650)
Lightbulb Testing#4126
Difícil (≈1650)
Firefighters#5757
Media (≈1350)
Process the expression#5981
Difícil (≈1650)
Hierarchical Democracy#6104
Media (≈1350)
Show me the Step#6372
Muy fácil (≈850)
Colors#6850
Difícil (≈1650)
Jane's First Words#6958
Fácil (≈1000)
Infix to Prefix#7021
Muy fácil (≈850)
Characteristic#10028
Media (≈1350)
COWBASIC#10531
Muy difícil (≈2050)