1250. Check If It Is a Good Array | Leetcode solution on September 10, 2022 Diophantine equation leetcode number theory +