This algorithm searches for a target item in an list of data items in an array and outputs the position of the target item and a Boolean value – found to confirm whether the item has been found – true if it has been found and false otherwise.
Example in Pseudocode
Example in Python
Example in Pseudocode
Example in Python