What is an inverse number?
This article mainly explains "what is the reverse order number". Interested friends may wish to take a look at it. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn "what is the reverse number"?
Description:
In an arrangement, if the front and back position of a pair of numbers is opposite to the order of size, that is, the preceding number is greater than the following number, then they are called a reverse order. The total number of reversals in an arrangement is called the reverse number of the arrangement.
For example:
Sequence: {2, 4, 3, 1}
The reverse order is (2), (4), (3) and (3) respectively.
The reverse number is 4.
Description:
2 is compared with 4, 3 and 1 respectively, 2 is greater than 1, and the reverse order is obtained (2)
4 compared with 3 and 1, 4 is greater than 3, 4 is greater than 1, and the reverse order is obtained (4prime3) and (4pen1).
When 3 is compared with 1, 3 is greater than 1, and the reverse order is obtained.
At this point, I believe you have a deeper understanding of "what is a reverse number". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!