The Gateway to Computer Science Excellence
+2 votes
Consider all possible permutations of eight distinct elements $a, b, c, d, e, f, g, h$. In how many of them, will $d$ appear before $b$? Note that $d$ and $b$ may not necessarily be consecutive.
in Combinatory by Veteran (106k points)
retagged by | 188 views

2 Answers

+2 votes
8!/2! as (d,b) is the only permitted arrangement between d and b , so it is equivalent to treating them as similar objects.
by Junior (623 points)
d,b is not the only arrangement. d,a,c,b is also permitted. consecutive not necessary
0 votes

d should be placed before b.
answer in pic (courtesy: friend) 

by Active (3.8k points)

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
50,737 questions
57,388 answers
105,414 users