Question d’entretien chez Siemens

Describe how you would find the elements that are in array A but not in array B.

Réponse à la question d'entretien

Utilisateur anonyme

23 janv. 2025

Convert both arrays to sets. Use the set difference operation The set(A) - set(B) finds all elements in that are not in .