The following is the pseudocode for which type of algorithm?…

The following is the pseudocode for which type of algorithm?For maxElement = each subscript in the array, from the last to the first     For index = 0 To maxElement – 1          If array[index] > array[index + 1]               swap array[index] with array[index + 1]          End If     End ForEnd For

The following is the pseudocode for which type of algorithm?…

The following is the pseudocode for which type of algorithm?Set found to falseSet position to -1Set index to 0While found is false and index < number of elements     If list[index] is equal to search value         found = true          position = index     End If     Add 1 to indexEnd WhileReturn position