Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Good
前面的思路都是一样的,先把数组转成一个纯数字的数组。这样问题就变成了判断一个数组排序状态。你的方法也是正确的,这里有很多的其他的解法,你可以参考一下:)