Leetcode 2197. Replace Non-Coprime Numbers in Array | Hello Interview