Problem
HackerRank detailed problem description can be found here
[https://www.hackerrank.com/challenges/repeated-string/problem].
Inputs & Outputs
/*
param {string} s
param {number} n
returns {number} Number of `a` occurances
*/
Test Cases
repeatedString('aba', 10);
repeatedString('a', 1000000);
Pseudo Code
1. Let's figure