Available question text
Given a string boolean expression using literals 't'/'f', operators '!' (NOT), '&' (AND), '|' (OR) and parentheses with comma-separated operands, evaluate it to a boolean result. The core challenge is parsing and correctly evaluating nested, variadic and unary operators (typically solved with recursion or a stack-based parser).
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 1440. Evaluate Boolean Expression
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source