• ###### gayanwcommented on "GROCERY STORE: Real Price!" kata

How could one know if `price_per_kg` should be in `float`. I finnaly gave up.

What's printed in expected when running test cases in not accurate either.

• ###### gayanwcreated an issue for "Sweeping trees" kata

This comment is hidden because it contains spoiler information about the solution

• ###### gayanwcommented on "Magnet particules in boxes" java solution

What's the point of decimal point in `1./`?

Nice.

• ###### gayanwcreated a question for "Next bigger number with the same digits" kata

Good kata. I wonder which one is the better appraoch, using a `char` array, vs `int or long` array to hold the digits?

• ###### gayanwcreated an issue for "SQL Basics: Simple NULL handling" kata

My code seems to return the expected results, but it fails with:

``````(compared using ==)

Diff:
@@ -11,7 +11,7 @@
:card_number=>"1234-2121-1221-1211",
:transaction_date=>#<Date: 2010-08-21 ((2455430j,0s,0n),+0s,2299161j)>},
{:id=>13,
:price=>76.05,
``````

And for:

``````-  :card_name=>"[card name not found]",
``````

But I don't see any difference in the diff.

• ###### gayanwcommented on "Prime Streaming (NC-17)" kata

Finally done. Thanks to the author, learned a lot about primes.

• ###### gayanwcommented on "Prime Streaming (NC-17)" java solution

This could only generate about 4 million.

• ###### gayanwcommented on "Prime Streaming (NC-17)" kata

This comment is hidden because it contains spoiler information about the solution

• ###### gayanwcommented on "4 By 4 Skyscrapers" kata

I solved this. But I'm not sure if I followed the best approach. Is this belong to any specific type of problems? Please let me know if there are any references that worth following.

• ###### gayanwcommented on "Path Finder #1: can you reach the exit?" kata

Yeah I read that. Is (0, 0) at the top left or bottom left?

Isn't (N-1, N-1) the W at the center in the above example?

Sorry I can't seem to figure out what I'm missing :)

• ###### gayanwcommented on "Papers, Please" kata

@joesmith100 Thanks. Working fine now.

• ###### gayanwcommented on "Path Finder #1: can you reach the exit?" kata

This comment is hidden because it contains spoiler information about the solution

• ###### gayanwcommented on "Number of Proper Fractions with Denominator d" kata

This comment is hidden because it contains spoiler information about the solution