Utility to get the next biggest number with the same digits e.g. passing in 2315 will return 2351.
Will return the same name number if there is no bigger number with the same digits e.g. 9999 will return 9999.
npm test - to run all the tests.
Function that returns the next bigger number with the same digits.
Utility to get the next biggest number with the same digits e.g. passing in 2315 will return 2351.
Will return the same name number if there is no bigger number with the same digits e.g. 9999 will return 9999.
npm test - to run all the tests.
Function that returns the next bigger number with the same digits.