- #刷题
- #careercup
【第三轮】8.3-8.9 CareerCup 9.11

15224
9.11 Given a boolean expression consisting of the symbols 0,1, &, /, and ^, and a desired boolean result value result, implement a function to count the number of ways of
parenthesizing the expression such that it evaluates to result.
回复解法可以按照以下格式来
[indent][indent]【解题思路】
【时间复杂度】
【空间复杂度】
【gist link】
---------------OPTional,如果觉得test case比较好,欢迎写出来分享----------------------
【test case】[/indent]
[/indent]
parenthesizing the expression such that it evaluates to result.
回复解法可以按照以下格式来
[indent][indent]【解题思路】
【时间复杂度】
【空间复杂度】
【gist link】
---------------OPTional,如果觉得test case比较好,欢迎写出来分享----------------------
【test case】[/indent]
[/indent]
4条回复
热度排序