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 am surprise why people even think this is a math question. It's literally about putting toothpicks together in a shape.
I am surprise by the amount of people getting into coding without math knowledge
this is trivial information that is one search engine / AI query away. there is no need to spell out the solution in the description.
This Kata lacks clarity on all condition required to pass test for a traingle as per author's thoughts. Only the condition that sides should be greater than zero is given. It needs to be rewritten
It is not meant to. Figuring out how to put three sticks together to form a triangle is a part of the exercise.
The correct formula for a triangle was not specified.
Not a kata issue. A triangle is a figure with 3 sides, it's common knowledge.
Terrible description, doesn't elaborate the conditions requried to be a triangle.
I mean -ve sides and sides with 0 is understandable but how is 1,2,3 not a scalene triangle???
Seriously, while ranting, you need to explain a bit better what you consider a problem because from all the complaints until now, all I've seen is you saying "this is wrong" about somethign what does not really appear wrong at the first sight. Call me stupid, but how is
1,2,9 -> false
misleading? You cannot have a triangle with sides of 1, 2, and 9, so the expected answer isfalse
. What exactly is wrong with it?Exactly. I don't understand why JAVA has the most poorly written exercises. Python I've not had such issues with.
I swear JAVA, compared to Python, has the most poorly written exercises:
(In this case, all triangles must have surface greater than 0 to be accepted)
1,2,9 -> false
This is misleading
This comment has been deleted.
This comment is hidden because it contains spoiler information about the solution
If someone did not solve a kata, they cannot read your message anyway. Spoilers cannot be read without completing the kata,and this makes your "suggestion" mostly useless.
The meaning of the
suggestion
label is documented (for example here: https://docs.codewars.com/community#kata-discourse) and as you can hopefully see, the label is meant to be used for kata suggestions, and not solution suggestions. It is in general recommended to refrain from posting spoilers and solution suggestions of any kind, unless answering a specific question. Users who have problems solving a kata can post questions (and usequestion
label for that), or even better, they can ask for help on CW Discord.I don't think you're right. Many people here in chat writes about that and telling other people how to solve the problem. I uses a SPOILER button to indicate that my message contains revealed solution. If someone's trying to solve the problem and open the chat, it means he doesn't know how to do that and needs help. When he sees that my message is marked by a SPOILER button and he reads it anyway, that is not my problem. I solved it on my own and wanted to help someone, so this is my SUGGESTION.
Loading more items...