Certent Interview Question

pattern and other math questions