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.
This comment is hidden because it contains spoiler information about the solution
yep, my first ones were already hidden.
current one would not work for the 3kyu kata anyway
ok, I'll post another.
it seems that kata needs a JS translation as well ;-)
couldn't find a chat/thread there with that discussion.
but you could ping me ( @twilight_sun ) if that makes sense. I have no certain opinion at the moment
This comment is hidden because it contains spoiler information about the solution
done (submitted the solution). maybe not the clearest code, but should be faster
This comment is hidden because it contains spoiler information about the solution
oh, excuse me =)
It depends on what ranges are ok for your solution, as mine is a result of looking at numbers without understanding of a problem per se
now it works, thanks!
btw, input range looks easy, it could work for much bigger numbers with a little modification ;)
This comment is hidden because it contains spoiler information about the solution
It seems there is a typo in "Simple tests" (in "Basic tests"):
should be
This comment is hidden because it contains spoiler information about the solution
Is it also possible to print this tree that you created?
I'm thinking about the following task: one table with current stock and maximum stock capacity for each product, and then the purchases and sales tables. User should make a sql report with current stock after each purchase/sale, and actions taken for each purchase/sale -> approved or rejected. A purchase is rejected when stock is full and a sale is rejected when stock is empty. Do you think such kata is too close to the current kata you are drafting? If not, I'll have a go at authoring such kata.
I hope author goes for (2) here, which was the intended way (looking at author comments in a previous discussion). This would be a challenging task in SQL.
Loading more items...