Array Union

Combine two arrays and remove duplicates to produce a union.

Code

General
list(dict.fromkeys(arr1 + arr2))

Parameters

First array

Second array

Server

More Python Snippets