Which of the following search algorithims is represented by the pseudocode
index=0
WHILE (index<number of items in the list)
{
IF (list[index]== target element)
{
return index
}
index=index+1
}
1 answer
The search algorithm represented by the given pseudocode is Linear Search.