Domanda di colloquio
Colloquio per Senior Data Scientist
-
MetaGiven a list, create a new list that does not include the duplicates of the original list.
Risposta
Risposte di colloquio
3 risposte
▲
0
▼
a = old list b = new list code : a = set(a) b = list(a)
Anonimo su
▲
0
▼
Maybe they were asking to do it in-place. In that case, switch the duplicate elements to the end.
Andre su
▲
0
▼
python 4 lines of code.
Anonimo su
Aggiungi risposte o commenti
Per lasciare un commento, accedi o registrati.