In how many arrangements do all vowels not occur together in the word efficiency
Answers
Answered by
0
Given a word containing vowels and consonants. The task is to find that in how many different ways word can be arranged so that the vowels always come together. Given that the length of the word <10
Examples:
Input: str = "geek" Output: 6 Ways such that both 'e' comes together are 6 i.e. geek, gkee, kgee, eekg, eegk, keeg
Examples:
Input: str = "geek" Output: 6 Ways such that both 'e' comes together are 6 i.e. geek, gkee, kgee, eekg, eegk, keeg
Similar questions