Solved LeetCode program · 888 of 1,000
#1220 · Count Vowels Permutation
Original English source
The count is 5. The alpha is 1. The echo is 1. The india is 1. The oscar is 1. The uniform is 1. The round is 2.
Repeat while round is at most count.
The nextalpha is echo plus india plus uniform. The nextecho is alpha plus india. The nextindia is echo plus oscar. The nextoscar is india. The nextuniform is india plus oscar. Set alpha to nextalpha. Set echo to nextecho. Set india to nextindia. Set oscar to nextoscar. Set uniform to nextuniform. Add 1 to round.
The total is alpha plus echo plus india plus oscar plus uniform. Show total modulo 1000000007.
Expected stdout
68