Challenge: Arithmetic Sequence
Find the index of an outlier in an arithmetic sequence.
Task
This task requires you to find the index of the first outlier in a given array. All numbers in an array are in an arithmetic sequence, except one number.
Write a program that uses an ...
Access this course and 1400+ top-rated courses and projects.