Fast Enterprises Interview Question

Simple for loop while explaining the process.