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.
this seems very uneficient
Is this not considered kind of cheap though by using hardcoded entries for multi-symbol values like IV, IX, XL, etc.? I thought that the "proper" solution would only use what was shown in the challenge prompt as hardcoded symbol/value pairs.
Idk about my solution compare to this one, probably mine is worst like 80% of the time (I'm starting in js);
@Chrono79 This won't happen in next time. Thank you!
Please, don't forget using spoiler flag next time.
Agreed its not very scalable; yours is much nicer
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
I did something very similar. I think this is a clever solution in terms of a small LOC but not in terms of performance (i.e. repeatedly breaking the for loop and restarting the iteration back at square one). I did something similiar however I didn't stop the loop when decrementing the number value until it was time to move on to the next roman numeral thus I never had to restart the algorithm. Thanks anyway
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This is so clever solution, I just create array 2 arrays and check it.
This comment is hidden because it contains spoiler information about the solution
should not with 900&400&90&40....so i think it not a good answer
This comment is hidden because it contains spoiler information about the solution
Loading more items...