Numerator Interview Question

Java and spring boot question