Home / MCQ Bank / Computer
Computer Sorting Algorithms Difficulty: Medium

The given array is arr = {1, 2, 3, 4, 5}. (bubble sort is implemented with a flag variable)The number of iterations in selection sort and bubble sort respectively are . . . . . . . .

Select the correct option to test your answer:

More Computer Questions

How do you insert a node at the beginning of the list? Global variables are . . . . . . . . Which of the following methods is used to check if a key exists in a hash in Ruby? Top open an existing workbook, click the open button on the___________toolbar? How many properties does a prototype object have?