Considering the search problem, we have a list of ?n integers ?=⟨?1,?2,⋯??⟩A=⟨v1,v2,⋯vn⟩. We want to design an algorithm to check whether an item ?v exists or not such that it should return either theindex, ?i, if it was found or −1−1 otherwise, whennot found.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here