Search for question
Question

The following is the code for the none optimizedbubble sort: Update the bubble Sort function so that it is optimized and runs in 30 steps for the above provided example

Fig: 1

Fig: 2

Fig: 3