KLA Interview Question

number.of.times a string repeats was the coding question