41

question

T times, each time you are given a number, you can operate unlimited times: exchange two adjacent numbers with different parities. Output minimized number

Double pointer: click to enter

Guess you like

Origin blog.csdn.net/m0_47546815/article/details/112992852
41