• edited by
21,156 views
58 58 votes

Let $A$ be a sequence of $8$ distinct integers sorted in ascending order. How many distinct pairs of sequences, $B$ and $C$ are there such that

  1. each is sorted in ascending order,
  2. $B$ has $5$ and $C$ has $3$ elements, and
  3. the result of merging $B$ and $C$ gives $A$
  1. $2$
  2. $30$
  3. $56$
  4. $256$

6 Answers

Best answer
74 74 votes
If you pick any $3$ numbers in the given order from the array(sorted) remaining $5$ elements are already sorted. You can not change the relative position of those $5$ elements because they are distinct and already sorted. So no of ways $= {}^8C_3.$

Same argument holds for picking up $5$ elements initially. No of ways $= {}^8C_5.$

Correct Answer: $C$
• edited by
34 34 votes

answer - C

select any $3$ elements from given $8$ elements - $^8C_3$

• edited by
21 21 votes
The question actually is based on combinations not merging.Firstl y two arrays are taken : B having 3 elements and C having 5 elements sorted in ascending order and then merged into a single array A having 8 elements.We have to find no of distinct sequences. 8 elements can be arranged in 8! ways out of that 3 elements of array B can be arranged in 3! ways and 5 elements of C can be arranged in 5! ways. Now, No. of distinct sequences = 8!/3! 5! = 56 Ans.
1 1 vote

A can have sequence of 8 distinct integers which are sorted in ascending order.
→ If we are pick 3 elements from 8 sequence integers then remaining 5 elements are already in ascending order. After merging these elements then it gives A.
→ No. of possibilities of choosing 3 elements from total of 8 = $^8C$$_3$
= 8!/3!5!
= 8 * 7
= 56

• edited by
Answer:
Position:
Show:

Related questions

61 61 votes
5 answers 5 answers
14.7k
14.7k views
Kathleen asked Sep 17, 2014
14,708 views
A program consists of two modules executed sequentially. Let $f_1(t)$ and $f_2(t)$ respectively denote the probability density functions of time taken to execute the two ...
38 38 votes
12 answers 12 answers
21.7k
21.7k views
Kathleen asked Sep 16, 2014
21,651 views
$m$ identical balls are to be placed in $n$ distinct bags. You are given that $m \geq kn$, where $k$ is a natural number $\geq 1$. In how many ways can the balls be place...
64 64 votes
6 answers 6 answers
18.4k
18.4k views
Kathleen asked Sep 16, 2014
18,401 views
$n$ couples are invited to a party with the condition that every husband should be accompanied by his wife. However, a wife need not be accompanied by her husband. The nu...
51 51 votes
6 answers 6 answers
13.7k
13.7k views
Misbah Ghaya asked Nov 29, 2016
13,707 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.