Prudential Interview Question

- finding gcd and what is a for loop and array list