InterviewDB
Experience
Token Tree - Parse and Evaluate an Expression Tree from Tokens
phone
Interview Experience
Problem You are given a list of tokens representing a mathematical expression in prefix notation. Build the expression tree and evaluate it. Tokens are either operators (+, -, *, /) or integer literals. Example: Approach Use a recursive descent parser with a pointer into the token list. Each call to parse() consumes one operator and recursively parses its two operands. Follow-ups Extend to handle unary operators (e.g., negation). How would you convert an infix expression to prefix notation first…
Full Details
🔒
Unlock all Sigma Computing questions
Full insider details, leaked discussions, and candidate experiences.
Get full access — $100 a year, unlimited accessAbout This Question
This is a candidate experience report from a sigma computing interview during the phone round.
More Sigma Computing Interview Questions
1p3a
Implementing a Spreadsheet with Custom Column Names at sigmacomputing
1p3a
Sigma Computing Fulltime SDE Tech Phone Screen Interview Experience
1p3a
Sigma Computing Onsite Second Round Interview Experience (USA)
InterviewDB
Sigma Computing SWE Phone - Cell Table
1p3a
Sigma Computing First Round Interview Experience (USA)