edited by
9,902 views
50 50 votes
Match the pairs in the following questions by writing the corresponding letters only.
$$\begin{array}{|c|l|c|l|} \hline A. & \text{The number of distinct binary tree} & P. & \frac{n!}{2} \\& \text{ with n nodes.}\\ \hline B. &  \text{The number of binary strings of the length } & Q. & \binom{3n}{n} \\& \text{of 2n with an equal number of 0’s and 1’s}  \\ \hline C. & \text{The number of even permutation of n } & R. & \binom{2n}{n} \\& \text{ objects.}\\ \hline D. & \text {The number of binary strings of length 6n } & S. & \frac{1}{1+n}\binom{2n}{n} \\& \text{which are palindromes with 2n 0’s.} \\ \hline \end{array}$$

4 Answers

Best answer
55 55 votes
  1. $- S$  Catalan number https://gatecse.in/number-of-binary-trees-possible-with-n-nodes/
  2. $- R$  Choosing $n$ locations for $0$'s out of $2n$ locations. The remaining $n$ locations are filled with $1$'s (no selection required).
  3. $- P$  An even permutation is a permutation obtainable from an even number of two-element swaps, For a set of $n$ elements and $n>2$, there are $n!/2$ even permutations.
    Ref - http://mathworld.wolfram.com/EvenPermutation.html
  4.  $- Q$ 

Length $= 6n$, as it is palindrome, we need to select only the first half part of the string.

Total length to consider is $3n$ (Remaining $3n$ will be revese of this $3n$)

Now, choose $n \ 0's$ out of $3n$. So Q is correct for D.

edited by
3 3 votes

An even permutation is a permutation obtainable from an even number of two-element swaps, For initial set {1,2,3,4}, the twelve even permutations are those with zero swaps: ({1,2,3,4}); and those with two swaps: ({1,3,4,2}, {1,4,2,3}, {2,1,4,3}, {2,3,1,4}, {2,4,3,1}, {3,1,2,4}, {3,2,4,1}, {3,4,1,2}, {4,1,3,2}, {4,2,1,3}, {4,3,2,1}). etc.

For a set of  n elements and n>2, there are n! / 2 even permutations, which is the same as the number of odd permutations

Position:
Show:

Related questions

25 25 votes
1 answers 1 answer
7.8k
7.8k views
Kathleen asked Sep 12, 2014
7,798 views
Match the pairs in the following questions by writing the corresponding letters only.$$\begin{array}{|ll|ll|}\hline \text{(a)} & \text{Buddy system} & \text{(p)} & \tex...
51 51 votes
6 answers 6 answers
13.5k
13.5k views
Misbah Ghaya asked Nov 29, 2016
13,458 views
How many substrings (of all lengths inclusive) can be formed from a character string of length $n$? Assume all characters to be distinct, prove your answer.
43 43 votes
6 answers 6 answers
16.8k
16.8k views
Kathleen asked Sep 23, 2014
16,765 views
The number of binary strings of $n$ zeros and $k$ ones in which no two ones are adjacent is$^{n-1}C_k$$^nC_k$$^nC_{k+1}$None of the above
51 51 votes
8 answers 8 answers
17.2k
17.2k views
Kathleen asked Sep 14, 2014
17,229 views
A multiset is an unordered collection of elements where elements may repeat any number of times. The size of a multiset is the number of elements in it, counting repetiti...