Returns count of all possible parenthesizations that lead to result true for a boolean expression with symbols like true and false and operators like & , | and ^ filled between symbols
function countParenth ( symb , oper , n ) { let F = new Array ( n ) ; let T = new Array ( n ) ; for ( let i = 0 ; i < n ; i ++ ) { F [ i ] = new Array ( n ) ; T [ i ] = new Array ( n ) ; for ( let j = 0 ; j < n ; j ++ ) { F [ i ] [ j ] = 0 ; T [ i ] [ j ] = 0 ; } }