Rosetta Problems

GCD Sort of an Array

https://leetcode.com/problems/gcd-sort-of-an-array