Distinct arrangements of the letters in BANANA
Consider all the ways to arrange the letters of the word . Two arrangements count as the same if they read as the same string (the three A's are interchangeable, and so are the two N's).
How many distinct arrangements are there?
Your answer
Solving needs a free account
Answers, streaks and solutions unlock when you are signed in. Reading the question and the hint stays free.
Discussion
Sign in to join the discussion · reading is open to everyone
💡 Discussion rules
- No full solutions here. Hints and approaches only.
- Complexity, edge cases and intuition are the point.
- Interview experiences are welcome. Respect your NDAs.
Loading discussion…
Learn the concepts
The theory behind this question.
Related questions
Distinct arrangements of the letters in BALLOONRaising a flag sequence with two colorsDistinct arrangements of the letters in MISSISSIPPILining up pennies, nickels, and dimesWill the three A's clump together?
All questions →