Ask a small problem?

xiaoxiao2021-03-06  15

Design an algorithm that circulates the element in the array a [1..n] to the first K bit, and requires only one element size auxiliary storage space, the elements move or exchange of 0 (n). The description language is required to write algorithm ideas and implemented with C language. C language code requires a text annotation as much as possible.

Please help me to see it, thank you.

转载请注明原文地址:https://www.9cbs.com/read-46268.html

New Post(0)