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.
Very interesting kata, good job.
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?fixed by someone
? where are you seeing this?
java or python?
But it obviously doesn't?... Anyways, whatever
When the order of selected points matters, there are
5 * 4 * 3 = 60
ways to choose.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.In the Description: 'Descirption' should be 'Description'.
Oh, that's right! Thank you
I like this Kata! One small issue is that the function in the starting code is minmax_areas(). But the function tested is maxmin_areas()