A
a
I'm studying the frequency of 5-letter words composed of {a,b,c,d,e} in a
string, I wanna build an array recording the frequencies of (aaaaa, aaaab,
...., caaaa, ..., eeeee). I find that for loop can work well if I hard-code
the number, what can I do if I wanna study n-letter word (e.g. n=3, 100,
3732)?
string, I wanna build an array recording the frequencies of (aaaaa, aaaab,
...., caaaa, ..., eeeee). I find that for loop can work well if I hard-code
the number, what can I do if I wanna study n-letter word (e.g. n=3, 100,
3732)?