Simple bubble sort exercise

Find the second largest value in a list without the sort method

The first old way to execute, code redundancy is not recommended

Optimal solution

Guess you like

Origin blog.csdn.net/qq_42954795/article/details/127672916