Given an array of integers, remove all duplicate elements and return the second largest number from the remaining unique elements. If the array has fewer than two unique elements, return an appropriate indication (e.g., null or -1).

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
An AI invents a fake court case to support its legal answer. This is a: