Gate CS-2003 Question Paper With Solutions

Q. 46 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

(i) each is
sorted in ascending order,
(ii) B has 5 and C 3 element, and
(iii) the result of merging B and C gives A?

(A) 2

(B) 30

(C) 56

(D) 256

Answer: (C)

Explanation:

Gate CS-2003 Question Paper With Solutions

Learn More:   Gate CS-2017-2 Question Paper With Solutions

LEAVE A REPLY

Please enter your comment!
Please enter your name here