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.
Bad how?
Bad discription kata!!!!
Next bigger number!...Sorry my bad..
Where do you see words like greatest or maximum ??? These are all from your imagination. Read the task description again...
The description tells to write a function which takes a positive integers as input as return the maximum number formed by rearranging it's digits..(2017)= (7210)?
That's not what's asked. 7210 isn't the next bigger number.
Not a suggestion.
By rearranging for 2071 shoudl be (7210) which is the greatest number possible..Make your description clear..