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.
yes it is
yup those are problems, I'm going to unpublish it in the meantime and address these flaws
There are different problems with this kata, don't know why there's one (not authors?) solution:-)? For me your example shows that i swapped rows with columns - maybe my missunderstanding or/and a problem of the description. After correction there's a new point: The sequence of the expected result, i can sort on different ways, but there's always a difference...? And sometimes i find more entries (perhaps @Unnamed's explanation, haven't looked for more details - i think it's your task to look for). The description isn't complete in some points too...
The grid described isn't contiguous, there's a hole from
40.09
to40.10
an so on. There's another problem though. Is the boundary the decimal40.10
or the value represented by the literal40.10
in JS? As the numbers are in binary, they can't be equal to these decimal fractions.Hi, thank you for beta testing. The grid seems to be confusing everybody including me. According to my system zone 25 would return all sales in coordinates [40.20,40.29] [-90.60,-90.51]
perhaps I could make it clearer by including a diagram?
I think there shouldn't be tests with coordinates excatly on zone boundaries. It's not a strict mathematical problem and IRL the probability of it happening would be close to 0 and no one would care which zone it would be.
This comment is hidden because it contains spoiler information about the solution
thanks for the tips
Then it will make no ambiguity
Better not because not every knows what it is
Good point, that is a problem. Perhaps it would make more sense if the data I provided only went to the 2nd decimal place?
I was not familiar with
[)
I'll edit the description to use thatI considered having it so that the max and min longitude and latitude would be different every time as well as the range between them which would leave it up to the solver to determine the boundries of each grid square. I think that would make the problem more involved than it really needs to be though.
It still very strange that according to your system
belong to no area because
-90.905
is not in[-91.00,-90.91]
or[-90.90,-90.81]
. i.e. All points in(-90.91,-90.90)
are missing a relative area.Though i am fine with it. o_O
Also it seems that you are not familar with this(
[)
) notation.[Interval](https://en.wikipedia.org/wiki/Interval_(mathematics%29)
My sample test cases were wrong. They applied to an older version of the data which I replaced. I also changed the lat, lon description so it is hopefully more clear now.
zone 91 would be lat 41.90,41.99 lon -91.00,-90.91, when you hit lon -90.90 you are in the second column of the grid. The Kata is live again now and If you want to give it a try!
hi, thanks for giving it a try
I think I might have mixed up latitude and longitude somewhere in the solution or test. Zone 91 should be the 10th row from bottom and first square in the row.
I may have a problem with my solution or test, will check tomorrow and unpublish in the meantime.
First time posting a Kata for me
Maybe i am doing wrong?
For zone
91
, the range would belat[40.90,41.00), lon[-91.00,-90.90)
But i can only find
Peanut Butter Patties
instead ofLemonades, Trios
by preloaded data.i.e.
I enjoyed this Kata. I thought it was more interesting than most. I actually found it somewhat difficult for a 6. There are 4kyus that I've been able to solve more quickly than this. Anyone else think so?