โ† Societe Generale questions

Count Co-prime Elements in Array

Filed under Societe Generale

The question

Given an array and a number x, count the number of elements in the array that are co-prime with x (GCD = 1).

No write-up yet. Related questions below have one.

Related Societe Generale questions

Collected from public candidate posts and coding forums. Updated Nov 2026.