467 views
0 votes
0 votes

How to solve this type of questions

2 Answers

2 votes
2 votes
Let's start from topmost S.To reach bottommost S from here one way is LLLLRRRR where L=left and R= right.

Another way is RLLLLRRR yet another is RRRRLLLL. Observe the pattern in the strings we are making. Each string is of length 8 having 4L's and 4R's So 8C4 such strings possible.

Similarly to reach from bottommost S to topmost S yet another 8C4 ways. Total 2* 8C4 ways. Option A.
1 votes
1 votes
One of the way would be, consider it as a directed acyclic graph from top-bottom and then apply DFS.

Related questions

2 votes
2 votes
0 answers
1
Rohit Gupta 8 asked Jan 12, 2018
687 views
The number of ways six distinct balls be distributed into 3 distinct urns. If each urn contain at least one ball are ____
0 votes
0 votes
4 answers
2
Rohit Gupta 8 asked Nov 29, 2017
1,641 views
What is the number of ways to distribute ten identical sweets to three children?If each children gets at least one sweet.If 1 condition is omitted.P.S. I do not know the ...
1 votes
1 votes
1 answer
3
. asked Feb 24, 2017
472 views
the number of ways in which 4 distinct balls can be put in 4 boxes labelled a,b,c,d such that b does not follow a, and c does not follow b, and d does not follow c,is
0 votes
0 votes
1 answer
4
. asked Feb 24, 2017
454 views
The number of ways of seating three gentlemen and three ladies in a row, such that each gentlemen is adjacent to atleast one lady.