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.
C Translation (author inactive).
Cool kata, just 2 small suggestions for clarity:
State that you are looking for the largest/smallest absolute area i.e. unsigned area; so a triangle with a signed area of
-25
has an absolute area of25
. Otherwise, mathematically speaking, the "smallest" area triangle will always be the negative value of the largest area triangle.(Python 3.10) - It is stated that "Areas should be rounded to tenths." but when I returned
(25.0, 5.0)
I got error message expectingint
values i.e.(25,5)
- imho it would be better to be consistent in the return types?This is a weird statement. According to combinatorics, there should be
C(5, 3) = 5! / (3! * 2!) = 5 * 4 / 2 = 10
triangles. I don't understand where the number 60 comes from.