Remove Duplicates from a 2D Array

You are given a two dimensional array containing arrays of strings as an argument. Return the 2D array with all of the duplicate strings removed.

Requirements

  • Must return a two dimensional containing arrays of strings.

Example #1

solve([["red", "blue", "yellow", "blue"],["blue", "orange"]])
> [["red", "yellow"],["orange"]]