[HackerRank] : Print a single integer denoting the number of letter a's in the first letters of the infinite string created by repeating infinitely many times. // Complete the repeatedString function ...
Lilah has a string, `s`, of lowercase English letters that she repeated infinitely many times. Given an integer, `n`, find and print the number of letter `a`'s in the first `n` letters of Lilah's ...