Simplify a given algebraic string. Output the simplified string without parentheses

前端 未结 0 1411
滥情空心
滥情空心 2021-02-03 17:25

The examples look like this, Input : "a-(b+c)" output "a-b-c", Input : "a-(a+b)" output "b"

I came up with this method, but the re

相关标签:
回答
  • 消灭零回复
提交回复
热议问题