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.
The random tests are a joke: it reuses the same graph used by the fixed tests for the entire test suite and only chooses random cities between 16 possible cities. This can barely be called random.
It is not explained what the 3rd argument of
findShortestWay
does, and it is always supplied with0
. Is it the author solution's recursion base argument?Dijkstra's algorithm is a duplicate to existing katas.
Exactly my thoughts, £1p is nonsensical; leading "£" and trailing "p" should only be allowed if the value contains a decimal point.
nope it's not. Since you expect exact results... (that's the reason why I didn't solve it, in fact. Meaning you did good, considering to unpulish it x) )
I expected you to work with quarter of circle of radius 1, centered at 0, 0 )). Probably, it`s gonna be the same result
...wut? :o
I expected to work with a circle of radius 0.5, centered on (0.5,0.5).
Well, creating this kata I was targeting to create a puzzle. If I tell that given floats should be considered as point on cortesian plane and we should include/exclude points exectly on the circle of radius 1, the puzzle will be spoiled. However, you have a point that right know I demand more or less exact method I was using for solving, which is not good. Directly asking for some approximation is not also good idea, because just returning a float in given boundaries will pass. Kata needs some improvements
Hi!
Thank you for your reply. You are right, they are the same. Probably, I should unpublish my
Since you expect an absolutely exact value, you need to specify the requirements further. For instance, when do you considere that points are "in" or "out" (inclusive/exclusive, I mean). Unless you're not refering to the same method, but then it's even worse... :/
Hi,
Isn't it too close to this one: https://www.codewars.com/kata/57ab4322cf1fa567f8000c4a ?
(as it's a part of it)
Your opinion is just your opinion.
Yep, looks OK now
So? This is a worthless addition to the list of existing katas. If you want to author a kata, do everybody a favor and read a guide on how to not spam more abominations.
There's nothing new in comparing numbers.
Loading more items...