Skip to content

Conversation

@jingdu-nn
Copy link

转置,数组p=[5, 1, 4, 2, 3],存在某个起点通过不断 x = p[x] 会回到起点,计算其中的转置次数

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant