Very clever! Good catch that you didn't need to translate '456', as their position remains the same.
there is always a easy way.
totally got stumped by an 8 kyu. dam
bro went all the way to docs bro future bright
Nice! The ternary expression makes life way much easier.
Done in this fork
because it slices out the min and max so the sum will be 0 if there are two or less elements in the array.
will return a float not an integer
Good job!
thank you good sir!
This comment is hidden because it contains spoiler information about the solution
nah
He meant the logic of solution would not be valid anymore, but still genius as it has 0.5 =)
Mutating an argument is the worst thing you can do.
Loading collection data...
Very clever! Good catch that you didn't need to translate '456', as their position remains the same.
there is always a easy way.
totally got stumped by an 8 kyu. dam
bro went all the way to docs bro future bright
Nice! The ternary expression makes life way much easier.
Done in this fork
because it slices out the min and max so the sum will be 0 if there are two or less elements in the array.
will return a float not an integer
Good job!
thank you good sir!
This comment is hidden because it contains spoiler information about the solution
nah
He meant the logic of solution would not be valid anymore, but still genius as it has 0.5 =)
This comment is hidden because it contains spoiler information about the solution
Mutating an argument is the worst thing you can do.
Loading more items...