Solución
solution.tsTypeScript
def array_difference(first_array: list[int], second_array: list[int]) -> list[int]:
array= []
for n in first_array:
if n not in second_array:
array.append(n)
return array0respuestas
def array_difference(first_array: list[int], second_array: list[int]) -> list[int]:
array= []
for n in first_array:
if n not in second_array:
array.append(n)
return arrayAún no hay respuestas
¡Sé el primero en responder!
Recuerda ser amable. Estás comentando la solución de otra persona. Comparte tu perspectiva de forma constructiva y respetuosa.