Fast Enterprises interview question

Simple for loop while explaining the process.