Mathematics (JEE)Very hardCodeforces Div2 D
How many distinct arrangements of the letters of ABRACADABRA have no two A's next to each other?
- A. 83160
- B. 68040
- C. 3420
- D. 3780
Correct answer: D. 3780
There are 11!/(5!2!2!1!1!) = 83160 arrangements, and 3780 of them avoid adjacent A's.
Practise more Permutations, Combinations and Probability questionsPermutations, Combinations and Probability: notes and key points
More Permutations, Combinations and Probability questions
- How many distinct arrangements of the letters of ENGINEERING begin and end with the same letter?
- In how many ways can 9 distinct balls be placed into 4 distinct boxes so that no box is empty?
- How many functions from a 6-element set to a 3-element set take exactly two distinct values?
- In how many ways can 12 distinct books be placed on 3 distinct shelves so that no shelf holds more than 6 books?
- In how many ways can 10 identical candies be given to 4 distinct children so that every child gets at least 2 candies?
- In how many ways can 8 identical balls be placed into 5 distinct boxes so that no box contains exactly one ball? (Boxes may be empty.)