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.
I forgot too, but thankfully I realised after reading the formula a couple times
The matrix multiplication kata you did is absurdly overranked.
m
Please take a look at this updated version for more clarity.
They have different performance constraint.
have u tried https://www.codewars.com/kata/540afbe2dc9f615d5e000425
spoiler tag, moment
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
oh, you're quite near all right.
ignore the edge cases first. (e.g. where sides are undefined/complex)
try writing out a series of simultaneous equations for the side lenghts of the triangle.
i'm afraid i can't really give you any more hints though, as that would make the solution too obvious already.
however, if i were in your shoes, i would try asking someone else, like a friend or a teacher/professor, see if they can help a little bit.
remember, this is a
right
triangle. we can find the area of that quite easily, no?however, if you don't know what Heron's formula is, I would really suggest reading up about it; it's quite simple to understand, and there's no harm in doing more research.
Good luck though, all the best!
It's actually very simple. If you don't know how the code works, try to follow it through a few examples, then everything should be clear. There are a few tricks used here.
Click Details, and look there, under Stats.
Loading more items...