Parenthese Boolean
Add parenthese to a boolean expression to make it evaluate ot true
.
Usage
$ make
$ ./bool
> T^T
there is no way to ...
> T&F|T
T&(F|T)
(T&F)|T
Algorithm
Dynamic Programming.
Add parenthese to a boolean expression to make it evaluate ot true
.
$ make
$ ./bool
> T^T
there is no way to ...
> T&F|T
T&(F|T)
(T&F)|T
Dynamic Programming.
MIT License