title: What is the fastest way to find the GCD of two numbers?
body: <p>I have an array of size n. I need to find the GCD of each element with a given number and if it's greater than 1, add it to another array. What's the fastest way to do this?</p>