Pergunta de entrevista da empresa Siemens

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

Resposta da entrevista

Sigiloso

23 de jan. de 2025

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