i have a function which returns a slice of slices.
[[-1 -1 2] [-1 0 1] [-1 0 1]]
Trying one way of map method wont work because slice cannot be a key. How do i remove the duplicate elements here.
i have a function which returns a slice of slices.
[[-1 -1 2] [-1 0 1] [-1 0 1]]
Trying one way of map method wont work because slice cannot be a key. How do i remove the duplicate elements here.