Given an array of integers, find the first non-repeating character or element. What is the time complexity of your solution?