edited by
547 views

1 Answer

1 votes
1 votes

CNF can be represented as a binary tree. Consider worst case that is full binary tree. In this case

|w| <= 2h-1

Now take log both sides

log2|w| <= h-1

h >= log2|w| + 1

Related questions

0 votes
0 votes
2 answers
1
suneetha asked Dec 22, 2018
342 views
i thought that it is the language where both start and end symbols are same and i got 65 but the ans is 29
0 votes
0 votes
1 answer
2
0 votes
0 votes
1 answer
3
suneetha asked Dec 22, 2018
537 views
G1: S-→ aSa| bSb|eG2:S → aaS|bbS| ethe shortest length strings which does not belongs to L(g1) but belongs to L(G2) is
1 votes
1 votes
0 answers
4