Yes, but kata solutions don't necessarily have to be efficient (unless the kata tests explicitly require them to be such).
This comment is hidden because it contains spoiler information about the solution
I think it can be kata 6
This is an amazing solution
Because array indices start from 0.
This is cool I didn't know you could do that.
Nice!
Absolutely. Best solution of all.
It's not actually a great solution because it requires a big dependency and uses floating point.
As the instructions said that name is a property of the object 'Players', Also we can't target the name of the player unless we use the Key Value which is the name: the structure is like that : Players[{name: "a"}, {name: "b"} ... {name: "z}];
penaldo
genius
wtf so there is a pattern?!
Assumes all numbers are in range, returns error for if not.
Loading collection data...
Yes, but kata solutions don't necessarily have to be efficient (unless the kata tests explicitly require them to be such).
This comment is hidden because it contains spoiler information about the solution
I think it can be kata 6
This is an amazing solution
Because array indices start from 0.
This is cool I didn't know you could do that.
Nice!
Absolutely. Best solution of all.
It's not actually a great solution because it requires a big dependency and uses floating point.
As the instructions said that name is a property of the object 'Players', Also we can't target the name of the player unless we use the Key Value which is the name: the structure is like that :
Players[{name: "a"}, {name: "b"} ... {name: "z}];
penaldo
This comment is hidden because it contains spoiler information about the solution
genius
wtf so there is a pattern?!
Assumes all numbers are in range, returns error for if not.
Loading more items...