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.
Not an issue
It seems to be nullptr as list.
Try to check this
If (!list) return "nullptr";
Perhaps you tried to access an array element using an out-of-range index or accessing a nonexistent property on an object? If you
#include <iostream>
on the top of your solution file and print out all the intermediate results to the console it could certainly help you identify the bug in your code, cheers :)Help us help you. What language ?!?
If task was find the BIGGEST NUMBER consisting of the same digits this kata was 6 kyu. Or easier
Paste your code, mark it as spoiler so we can see what fails. As far as I've tested javascript kata version works.
6 characters req.
This comment is hidden because it contains spoiler information about the solution
It is about the next biggest number, not a bigger or the biggest number that you can build with the same digits.
2710 is bigger then 2017 but also bigger then 2071. 2071 is the next biggest number.
Assuming math operations are
O(1)
,O(1)
.