Question - Determine the order of operations for this Seq Search algorithm. Best case and worse case and why
Algorithm SeqSearch(A, n, x)
for I <- n-1 to 0 do
if A[i] = x then
return I
return I
Find the order of operations for this Search algorithm. Prepare a proper algorithm for this problem and how to complete it.