</>OfferRetriever
DashboardDiscuss
NEW
Halloween SalePremium questions, over 30% offUnlock all premium questions for over 30% off
$10.42$7.08/mo

--

:

--

:

--

:

--

Get this deal
Back to Google Questions

Expression Simplifier

Hard

Given an algebraic expression string containing single lowercase-letter variables, the operators + and -, and parentheses ( and ), simplify the expression by removing all parentheses and correctly distributing signs.

The simplified expression must preserve the correct mathematical value. Terms should appear in the same relative order as the original expression, with the sign of each term adjusted according to how many layers of negation surround it. ...

Asked at:GoogleMetaOracle

More Google interview questions

All Google interview questions
OfferRetriever

Master technical interviews with real questions from top companies. Build your confidence and career.

PRODUCT
PricingDashboardDiscussOfferRetriever vs LeetCodeCompare
LEGAL

© 2026 Purple Business Holdings LLC. All rights reserved. See Terms of Service.