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.
No, the reason is because you only halt the loop when
s == m
, but what ifs > m
and there are still millions of iterations to go?OP solved it, closing
nvm, it isn't that... lol
wait, I just realised there might be an indentation error
This comment is hidden because it contains spoiler information about the solution
draw the movement in a paper.. it basically move all the way and returned to the same position.. then the last movement was towards "West"..
This comment is hidden because it contains spoiler information about the solution
Bruh, you're a genius for all the wrong reasons lmfao
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
hmm no
this has nothing to do with linked lists. but either way there's no pre-existing linked list class, so you'll just have to create one yourself for this kata ;)
alrighty, thanks ^^
Hmmm... sorry, that is beyond my control because the precision errors occurs internally so the +/- 0.001 of the
closeTo
assertion is not met. You can prove it for yourself.eg:
:-(
It's not that, my guy. I'm a Maths tutor, I know what the volume of a sphere is... Turns out what you want us to do is:
finda the raadius of-a the squisheda bloooob-a; yeeeeees!
I'm not against "not spoonfeeding", but I don't think the problem was articulated well.
good solution, but it's not best practice to import inside a function, I hear
Loading more items...