Dayforce Interview Question

Given an array, return the index of the first unique character