Naive Algorithm (First Occurrence)#8226