Domanda di colloquio di Red Hat

How to find the difference between 2 lists without a loop or recursion?

Risposta di colloquio

Anonimo

8 giu 2022

Making the list a set and do a diff between the sets. When the interviewer told me the answer I said that it's probably implemented as for loops somewhere else, she didn't care.