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.
the "if" statement accounts for those values by subtracting a number from the sum if it is to the left of a larger number
for instance...
MCMXC = [1000, 100, 1000, 10, 100]
if(data[numbers[i]] < data[numbers[i+1])... this is triggered when data[numbers[1]] AKA 100 is less than data[numbers[1+1]] AKA 1000
so...sum += data[numbers[1+1]] - data[numbers[1]] AKA 1000 - 100
Depnds on the data.
Think what happens when adding cats or schools which are not related (yet) to a senshi.. you would end up with records without senshis name, which does not fuflill your requirements.
True, I didn't think people would go down that route on a simple beginner kata but I guess I got to account for these things :)
With FULL JOIN, FULL OUTER JOIN you reach the same result...
This fails the number 1990 (MCMXC) from the description.
You are missing CM, CD, XC, XL, IX, IV.
This fails the number 1990 (MCMXC) from the description.
You are missing CM, CD, XC, XL, IX, IV.